Peter Gordon wrote:
On Tue, 2007-07-17 at 19:47 -0400, Mike Frysinger wrote:
historically, gcc on x86 has always defaulted to i386. some people noticed
recently that glibc-2.6 fails to build in this situation as they were only
setting -mtune via CFLAGS, not -march. i'll be tweaking gcc so that it will
default -march based on your CHOST. so all the i686-* people will now have a
default -march=i686 implied in their gcc systems, i586-* people will
have -march=i586, etc... keep in mind this is merely the default.
-mike
Does this mean that any user-set "-march" flag is overridden for these
cases? Just curious.
You quoted the answer :) These flags are "merely the default". Any
user-specified flags will override the default. For example, if you have
CFLAGS="-march=i586" with a i686 CHOST, it'd be effectively like calling gcc
with 'gcc -march=i686 -march=i586'. The later option would win.
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Catalyst/Installer + x86 release coordinator
--
[EMAIL PROTECTED] mailing list