Messages in this thread | | | Date | Mon, 17 Dec 2001 11:40:20 -0600 | From | "M. R. Brown" <> | Subject | Re: Why no -march=athlon? |
| |
* nbecker@fred.net <nbecker@fred.net> on Mon, Dec 17, 2001:
> I noticed that linux/arch/i386/Makefile says: > > ifdef CONFIG_MK7 > CFLAGS += -march=i686 -malign-functions=4 > endif > > > Why not -march=athlon? Is this just for compatibility with old gcc?
The recommend kernel compiler is gcc 2.95.x, which doesn't support "-march=athlon".
> If so, can't we fix it with an ifdef?
Can you fix it? You'd have to parse the output of `gcc -v`, I think kbuild 2.5 does this, so start there first.
M. R. [unhandled content-type:application/pgp-signature] | |