Matthew Burgess wrote:
> On Fri, 14 Sep 2007 23:16:56 -0400, Jeremy Huntwork <[EMAIL PROTECTED]> 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.

There's no need to use -march for everything in the Glibc build system, 
and I don't think we want to. If someone decides to change what you 
suggested to i686, or perhaps some other cpu-type that more closely 
matches their system, it will break the build. If we're using CFLAGS, 
that doesn't happen.

I suppose it might be possible to introduce the -march flag to CFLAGS 
without specifying the whole of CFLAGS on the command line... I'll take 
a look.

--
JH
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to