我正在为我的项目目的开发开源 GHDL 项目,安装了 ghdl-0.29-2.143svn.4.fc16.src.rpm
,由 ghdl 0.29 和 gcc 4.3.4 通过 rpm -i
和 rpmbuild -ba
命令成功。
在 ghdl 文件夹中,我编辑了一个 ada 程序,然后我执行了 make
和 make install
:没有错误,但它在 gcc 版本 4.6.3(默认)中产生了问题更改到 4.3.4 并且没有 gcc 程序执行给出错误:
error: C compiler cannot create executables
See `config.log' for more details."
In config.log file /usr/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
提前致谢
问候 拉古
最佳答案
您是否尝试过重新安装 glibc?这可能有效。
关于c - Gcc 默认版本崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11426429/