lfs遇到大问题啊!

penguin 2007-10-08 09:39:27
../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
Password:
loading cache ./config.cache
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking build system type... i686-pc-linux-gnulibc1
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
这是输出的信息,怎么办啊?
本人是个新手,想做一下lfs,可做好一切准备工作后,编译安装第一个软件时就出现了大问题。
求救啊!
...全文
188 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
penguin 2007-11-03
  • 打赏
  • 举报
回复
是6.1的,
hefuhua 2007-10-08
  • 打赏
  • 举报
回复
楼主编译6.2的还是?
zeloas 2007-10-08
  • 打赏
  • 举报
回复
对高版本的gcc,编译gcc和binutils PASS 1时./configure前加CC="gcc -B/usr/bin"
可以查看lfs网站上的hint
hefuhua 2007-10-08
  • 打赏
  • 举报
回复
一般第一次很少会成功的,按说明书检查原因,要成功只有严格的细心和耐心:)

你的gcc环境没有弄好..

4,441

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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