GCC通用游行的所有x64平台平台、GCC

2023-09-08 00:55:16 作者:貧道不近男色丶施主請自重

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.