LinuxSir.cn,穿越时空的Linuxsir!

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

FC3第一遍安装GCC3.3.1时通不过

[复制链接]
发表于 2005-2-25 21:01:12 | 显示全部楼层 |阅读模式
-bash-3.00$ ../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.
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.


Configure通不过,主系统GCC版本为3.4.2.是GCC版本引起的么?
如果要安装GCC3.3.1,该怎么先卸载GCC3.4.2呢?另外,有没有兄弟在Fedora3上通过的?
发表于 2005-2-26 00:03:26 | 显示全部楼层
你主系统的东东都很高了。
换lfs-6.0做吧。 比较符合你主系统的版本。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-26 03:23:42 | 显示全部楼层
嗯,已经换做6.0了.苦下几个小时,终于下来了.呵呵,有问题还要请兄弟多多指导啊.
回复 支持 反对

使用道具 举报

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

本版积分规则

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