Tag: gcc4.6

Linux上的这个GCC错误是什么,我该如何解决? gcc:内部编译器错误:非法指令(程序为)

我输入gcc hello.c ,这会出现: gcc: internal compiler error: Illegal instruction (program as) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. hello.c只是: int main() { return 0; } 我想不出有什么方法可以让它更简单! (那里的printf也是如此。) 那么:你如何解决这个问题? 我在Raspberry Pi上的Raspian上。 编辑 gcc -v给出 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v –with-pkgversion=’Debian 4.6.3-14+rpi1′ –with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs –enable-languages=c,c++,fortran,objc,obj-c++ […]