LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 890|回复: 1

请教:编译通过,但汇编过程出错,各位帮忙

[复制链接]
发表于 2005-12-21 11:26:36 | 显示全部楼层 |阅读模式
我用GCC编译一个程序:
g++ -c -o abc.o abc.cpp
结果给我这样一段错误提示:

/tmp/ccbDO3Jm.s: Assembler messages:
/tmp/ccbDO3Jm.s:3129: Error: suffix or operands invalid for `mov'
/tmp/ccbDO3Jm.s:4353: Error: suffix or operands invalid for `mov'
/tmp/ccbDO3Jm.s:4468: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:4617: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:5910: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:6881: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:6978: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:7207: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:7409: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:7544: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:7831: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:7840: Error: suffix or operands invalid for `cmp'
/tmp/ccbDO3Jm.s:8415: Error: suffix or operands invalid for `cmp'

有经验的大哥,请帮忙分析一下,可能会是什么原因?
发表于 2005-12-21 12:49:24 | 显示全部楼层
是不是行内嵌汇编的?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表