Time to remove CFLAGS note from glibc?

Andrew Benton b3nt at ukonline.co.uk
Thu Oct 6 13:40:43 PDT 2005

Jeremy Huntwork wrote:
> Tushar Teredesai wrote:
>> glibc: -Os -march=i686 -mtune=i686 -pipe -w
>  From 'man gcc', in the section called "Intel 386 and AMD x86-64 Options":
> "-march=cpu-type
>            Generate instructions for the machine type cpu-type.  The 
> choices for cpu-type are the same as for -mtune.  Moreover, specifying
>            -march=cpu-type implies -mtune=cpu-type."
> So, in your example above, -mtune is unnecessary.

Dan Nicholson made this point and Tushar answered it a couple of hours ago

Tushar Teredesai wrote:
> Yep, I know. I keep it in my CFLAGS in case some obscure package has a
> -mcpu/-mtune/-m?86 in its default flags in which case the option in my
> CFLAGS will override it.
> Anyways, the point of my thread is not to decide which flags are ok
> for glibc but that the warning in the book should be removed. It could
> probably be reworded to state that -march options may cause problems.

More information about the lfs-dev mailing list