Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Compiling xfree86 with gcc2

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Compiling xfree86 with gcc2
  • Date: Mon, 25 Nov 2002 14:05:20 +0100

On Mon, Nov 25, 2002 at 04:54:45PM +1300, Duane Malcolm wrote:
> I THINK the problem has to do with the CONFIGURE script for xfree86,
> specifically the "generate_host_def" function. Where it generates the
> host.def file to include the optimization flags using $CFLAGS. But I
> have a feeling it doesn't take the USEGCC2 into account when it
> generates the file and uses the gcc3 optimization flags. So host.def has
> set the gcc3 flags even though it is using gcc2 and cast is setting the
> gcc2 optimization flags, I think this explains the repeated optimization
> flags.

Just a note, the host.def file is only regenerated if you cast -r xfree,
so you have to do this if you changed optimization settings.

--
Arwed
aka alley_cat




Archive powered by MHonArc 2.6.24.

Top of Page