CPU you selected does not support x86-64 instruction set
生活随笔
收集整理的這篇文章主要介紹了
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 結果可以編譯
是否還有別的更好的參數目前還不知道,]
總結
以上是生活随笔為你收集整理的CPU you selected does not support x86-64 instruction set的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 开源HTTP解析器---http-par
- 下一篇: java web项目在tomcat中以调