摘要:
/usr/bin/ld: i386:x86-64 architecture of input file `command.o' is incompatible with i386 output出现这种警告的时候的时候,运行程序老是段错误,要加-m32,就好了。gcc -m32 -o usehello_static usehello.c libhello.a原因引用的库是 32位的,我是用的64位的系统参考:https://github.com/Liutos/LiutCL/issues/6 阅读全文
posted @ 2013-07-02 10:26
lpshou
阅读(9785)
评论(0)
推荐(0)
浙公网安备 33010602011771号