LinuxSir.cn,穿越时空的Linuxsir!

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

安装 GCC-3.3.1 - 第一遍 出错,请大侠们帮忙

[复制链接]
发表于 2004-10-6 20:29:30 | 显示全部楼层 |阅读模式
安装 GCC-3.3.1 - 第一遍,出现如下信息
[root@localhost gcc-build]# ../gcc-3.3.1/configure --prefix=/tools \
>     --with-local-prefix=/tools \
>     --disable-nls --enable-shared \
>     --enable-languages=c
Configuring for a i686-pc-linux-gnu host.
*** This configuration is not supported in the following subdirectories:
     target-libstdc++-v3
    (Any other directories should still work fine.)
Created "Makefile" in /mnt/lfs/sources/gcc-build using "mt-frag"
/tools/bin/ld: unrecognized option '--as-needed'
/tools/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-10-6 22:07:55 | 显示全部楼层
看错误信息,是上一个步骤建立Binutils的问题
发表于 2004-10-7 22:46:00 | 显示全部楼层
for those who didn't even bother to look at the post in the first page:

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=144667
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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