c - Gcc 默认版本崩溃

标签 c

我正在为我的项目目的开发开源 GHDL 项目,安装了 ghdl-0.29-2.143svn.4.fc16.src.rpm,由 ghdl 0.29gcc 4.3.4 通过 rpm -irpmbuild -ba 命令成功。

在 ghdl 文件夹中,我编辑了一个 ada 程序,然后我执行了 makemake 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/

相关文章:

c - 仅使用 1 个非阻塞套接字时执行 select() 是否有意义?

c - 未初始化的堆分配误解(代码有效——需要更正以消除 Valgrind 错误)

java - 安卓 native : How to deallocate object after returning from native layer

c - C 中 atoi 的段错误

c - 了解已编译目标文件中 C 函数的大小

c - 减去 3d 数组中的地址

c - GCC:在获取地址时取消引用 ‘void *’ 指针

C语言: i dont understand why it works

c - 将数组分配给 C 中的结构值

c - 奇怪的 execlp() 命令