Re: Why no -march=athlon?

From: Dominik Mierzejewski (dominik@aaf16.warszawa.sdi.tpnet.pl)
Date: Mon Dec 17 2001 - 10:54:23 EST


On Monday, 17 December 2001, nbecker@fred.net wrote:
> I noticed that linux/arch/i386/Makefile says:
>
> ifdef CONFIG_MK7
> CFLAGS += -march=i686 -malign-functions=4
> endif

Hm. As long as I can remember, 2.4 has always had this:
ifdef CONFIG_MK7
CFLAGS += $(shell if $(CC) -march=athlon -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=athlon"; else echo "-march=i686 -malign-functions=4"; fi)
endif

Perhaps you're describing a 2.2 kernel?

-- 
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)we.are.one.pl>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:13 EST