linux下安装出现/usr/bin/ld: crt1.o: No such file: No such file or directory

ZoRan丶 2014-09-28 10:48:54
本来安装的时候出现了
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[szb@localhost libtool-1.5.22]$

之后用rpm安装gcc
之后configure报错


./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/szb/trs/swftools-0.9.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.


运行了一些gcc -v


现在很是纳闷 到底是什么情况啊
...全文
1257 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
Try add host flag to configure, if is is a x86_64' ./configure --host=x86_64

18,773

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧