LinuxSir.cn,穿越时空的Linuxsir!

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

哪位大侠救救菜鸟 (checking for C compiler default output)

[复制链接]
发表于 2005-5-19 08:59:58 | 显示全部楼层 |阅读模式
安装完 Binutils-2.14 - 第二遍的之后

安装 Gawk-3.1.3
./configure --prefix=/tools
出现这个问题
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for egrep... grep -E
checking for bison... bison -y
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output... configure:error: C compiler cannot creat executables

See 'config.log' for more details

我该怎么设置这个环境变量呢

我用type gcc  结果是 gcc is /tools/bin/gcc

gcc --versiong 结果是 gcc (GCC) 3.3.1

第一次搞LFS,帮帮忙
 楼主| 发表于 2005-5-19 09:08:16 | 显示全部楼层
指点迷津
谢谢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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