GCC通用游行的所有x64平台 [英] gcc generic march for all the x64 platforms
问题描述
GCC有 -march =
和 -mtune
如选择的此处。但它并不明显,其中的选项来选择适合的 64 平台通用的。比方说, -mtune =
有通用
价值,但 -march =
对于 64 没有。
GCC have -march=
and -mtune
option as described here. But it is not obvious which of the options to choose for x64 platform as generic one. Say, -mtune=
have the generic
value, but -march=
for x64 have no.
我怀疑 -march = Nocona的
(如经常看到到处都是),甚至 -march = i686的-m64
该如何解决,但我不知道。
I suspect that -march=nocona
(as frequently seen everywhere) or even -march=i686 -m64
is the solution, but I'm not sure.
推荐答案
通用X86-64 -march
是 -march = X86-64
。
The generic x86-64 -march
is -march=x86-64
.
这是的一般的默认为海湾合作委员会针对x86-64的,但默认情况下可以在修改通过传递适当的值来配置
时间 - 与拱
It is usually the default for GCC targeting x86-64, but that default can be changed at configure
time by passing appropriate value to --with-arch
.
这篇关于GCC通用游行的所有x64平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!