Re: Possibility of adding -march=native to x86

From: Thomas Gleixner
Date: Fri Oct 26 2007 - 05:16:43 EST



On Thu, 25 Oct 2007, Michael Lothian wrote:

> Hi
>
> I was wondering if it was possible to add -march=native support to the
> processor options of the new x86 architecture if gcc 4.2 or greater is being
> used.
>
> I'm not suggesting this should be a default at all, merely an extra option
> similar to selecting P4, Athlon or even -Os.
>
> I've manually tried this flag at home with no ill effects.

It works for your specific setup, but it will kill distro compiles as
well as cross compiling.

tglx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/