Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GCC 有-march=和选项,如此处-mtune所述。但是对于x64平台,选择哪个选项作为通用选项并不明显。说,有价值,但对于x64没有。-mtune=generic-march=
-march=
-mtune
-mtune=
generic
我怀疑-march=nocona(随处可见)甚至-march=i686 -m64是解决方案,但我不确定。
-march=nocona
-march=i686 -m64
通用 x86-64-march是-march=x86-64.
-march
-march=x86-64
它通常是针对 x86-64 的 GCC 的默认设置,但可以configure通过将适当的值传递给--with-arch.
configure
--with-arch