CPU you selected does not support x86-64 instruction set

转载地址:https://blog.csdn.net/linuxheik/article/details/17525703

CPU you selected does not support x86-64 instruction set

    gcc编译参数问题1. 头次编译,makefile完全没改,那么得到的错误是:
CPU you selected does not support x86-64 instruction set
天地良心,这不是把64位支持打开了吗?后来才知道,需要修改makefile面
-march的值,比如这里我们需要改成-march=x86-64,于是就可以了。有的文档
说要改成m64,这个应该是跟具体的系统有关吧。反正ubuntu 9.0.4上这么改
就没问题了。

[willor 
在Xeon 64位机器RHEL 5.3 上 用-march=i686时候,得到
error: CPU you selected does not support x86-64 instruction set
用-march=x86-64 结果可以编译
是否还有别的更好的参数目前还不知道,]

猜你喜欢

转载自blog.csdn.net/zhangge3663/article/details/84583501
今日推荐