--with-arch=i486 (was Re: Merging the jh branch to trunk)

Matthew Burgess matthew at linuxfromscratch.org
Sat Sep 15 02:04:10 PDT 2007


On Fri, 14 Sep 2007 23:16:56 -0400, Jeremy Huntwork <jhuntwork at linuxfromscratch.org> wrote:
 
> So, to summarize, I propose not using --with-arch, but use the following
> for Glibc:
> 
> CFLAGS="-march=i486 -O2 -pipe" ../glibc-2.6.1/configure ...etc.
> 
> Glibc requires some sort of optimization and -O2 seems safe. -pipe
> should also be safe on gnu systems and should speed up compile times by
> using pipes instead of temporary files.

Alternatively, we could use CC="gcc -march=i486" ../glibc-2.6.1/configure ...etc.  That way, the existing CFLAGS that the Glibc devs have selected will not be overriden.

Regards,

Matt.




More information about the lfs-dev mailing list