错误:'push'的指令后缀无效

时间:2013-09-09 14:51:20

标签: c gcc

我试图设置我的C IDE,当我尝试构建Hello World项目时遇到错误,它说:

C:\Users\xxx\AppData\Local\Temp\cciekbYC.s:16: Error: invalid instruction suffix for `push'

调试器显示:

Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.5
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0

我使用MinGW编译器,有人能指出我正确的方向吗?

编辑:测试代码:

#include <stdio.h>
#include <stdlib.h>

int main()
{
    printf("Hello world!\n");
    return 0;
}

编辑:程序通过命令提示符进行编译,因此这似乎是IDE的问题,而不是编译器。

0 个答案:

没有答案
相关问题