LinuxSir.cn,穿越时空的Linuxsir!

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

用lfs 6.0 live cd 编译lfs 5.0 做到“安装gcc-3.3.1第一遍”出问题

[复制链接]
发表于 2005-8-25 11:06:57 | 显示全部楼层 |阅读模式
执行:
../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 ont 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 -02 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
发表于 2005-8-25 11:29:43 | 显示全部楼层
为什么livecd都有6.0,反而要安装lfs5.0呢?包会有问题的吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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