what "-march=" option should be used when building 64bits lfs

Stuart Stegall keltor at keltor.org
Fri Mar 18 11:59:13 PDT 2011


On Fri, Mar 18, 2011 at 1:12 PM, xinglp <xinglp at gmail.com> wrote:
> "-march=i686" should be a common option for 32bits system. And I set
> to jhalfs's "jhalfs/optimize/opt_config.d/O3pipe_march".
> Then which option for 64bits.
>
> --
> code farmer from lanxiangjixiao
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>

-mtune=native will get you what you are looking for, but also take a look at:
http://en.gentoo-wiki.com/wiki/Safe_Cflags



More information about the lfs-support mailing list