一见

linux GCC编译错误:CPU you selected does not support x86-64 instruction set

Linux GCC编译时如遇到如下错误:
cpp:1: error: CPU you selected does not support x86-64 instruction set


是因为在64位平台上加了-march=pentium4这样一个编译参数,它只用于32位平台。

posted on 2012-12-05 15:11  -见  阅读(975)  评论(0编辑  收藏  举报

导航