LinuxSir.cn,穿越时空的Linuxsir!

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

安装GCC问题,求助!!!(已解决!)

[复制链接]
发表于 2006-12-3 14:33:04 | 显示全部楼层 |阅读模式
我安装GCC-4.1.1时:
./configure是就以下命令---
#/root/program-pack/gcc-4.1.1/configure --prefix=/usr/local/gcc --enable-threads=posix --disable-checking --enable--long-long  --host=i686-pc-linux-gnuoldld  --with-system-zlib --enable-languages=c,c++,java
出现:
...
checking where to find the target gcc... just compiled
checking where to find the target gcj... just compiled
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... (cached) yes
creating ./config.status
creating Makefile
[root@MerlinTu gcc-build]#
这步算是成了吧?
然后我make的时候,最后面出现了:
...
checking for .preinit_array/.init_array/.fini_array support... yes
checking if mkdir takes one argument... no
*** Configuration i686-pc-linux-gnuoldld not supported
make[1]: *** [configure-gcc] 错误 1
make[1]: Leaving directory `/root/program-pack/gcc-build'
make: *** [all] 错误 2
然后就停了!
有没有人来帮帮我...谢谢了...WOL
发表于 2011-1-27 20:53:40 | 显示全部楼层
请问你是怎么解决的,我在编译的4.5.2的时候也遇到同样的问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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