LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 703|回复: 2

第一遍编译binutils出错

[复制链接]
发表于 2004-12-18 15:44:00 | 显示全部楼层 |阅读模式
出错信息如下:
[lfs@localhost binutils-build]$ ../binutils-2.14/configure --prefix=/tools --disable-nls
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
/usr/local/bin/ld: unrecognized option '--as-needed'
/usr/local/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
清大人们指教.
发表于 2004-12-18 16:13:53 | 显示全部楼层
和我遇到的同样问题。看看下面的帖子 :p
http://bbs.linuxsir.cn/showthread.php?s=&threadid=160603
 楼主| 发表于 2004-12-18 16:24:01 | 显示全部楼层
恩 多谢了
和我怀疑的差不多
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表