标题: configure: error: C compiler cannot creat executables. [打印本页] 作者: lxpursue 时间: 2013-07-08 21:58 标题: configure: error: C compiler cannot creat executables. 在编译crosstool时,因为 gcc 版本过高而失败。于是换了一个 gcc-3.4(原来的是 gcc-4.6.3),但又遇到了下面的问题:
configure: error: installation or configuration problem: C compiler cannot create executables.
已经将gcc-3.4 链接到 /usr/bin/ 下面了。而且编译一个C文件时也没通过:
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status