LinuxSir.cn,穿越时空的Linuxsir!

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

编译 GCC-3.4.3 出错,大家帮忙看看

[复制链接]
发表于 2007-7-5 18:22:22 | 显示全部楼层 |阅读模式
lfs://mnt/lfs/sources/gcc-build$ ../gcc-3.4.3/configure --prefix=/tools \

> --libexecdir=/tools/lib --with-local-prefix=/tools \

> --disable-nls --enable-shared --enable-languages=c

creating 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

checking for a BSD compatible install... /usr/bin/install -c

*** This configuration is not supported in the following subdirectories:

     target-libstdc++-v3 target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc

    (Any other directories should still work fine.)

/tools/bin/ld: unrecognized option '--hash-style=gnu'

/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.

lfs://mnt/lfs/sources/gcc-build$
发表于 2007-7-5 20:12:39 | 显示全部楼层
为什麽编译老版 gcc,做旧版 LFS 吗?宿主系统是啥?
回复 支持 反对

使用道具 举报

发表于 2007-7-6 07:14:19 | 显示全部楼层
宿主太新,LFS版本太旧了。。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-6 08:58:14 | 显示全部楼层
如何解决?我找不到LFS比较新的版本的国内下载,可否指点一二
回复 支持 反对

使用道具 举报

发表于 2007-7-7 17:49:02 | 显示全部楼层
国内 mirror 好像难找,国外 mirror 一大堆,不能连出去吗?
回复 支持 反对

使用道具 举报

发表于 2007-7-8 14:37:40 | 显示全部楼层
我在学校上的教育网,外国的好象有限制数量,一般联不上
回复 支持 反对

使用道具 举报

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

本版积分规则

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