编译gcc-4.5.2时出错

时间:2011-03-18 08:20:19

标签: macos gcc makefile compilation

我正在尝试使用以下configure命令在mac os x 10.6.6上编译gcc 4.5.2:

../gcc-452a/configure --prefix=/builds/dist1/gcc/452a --enable-languages=c,objc,c++,fortran --with-pkgversion='Builds, build 452a'

它编译精细(make -j3)直到某一部分,然后它说:

checking for working strncmp... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
Adding multilib support to Makefile in ../../../../gcc-452a/libiberty
with_multisubdir=i386
make: *** [all] Error 2

请帮忙

如果它有任何区别“current_stage”= stage3

1 个答案:

答案 0 :(得分:0)

也许您不需要GCC支持multilib,因此您可以使用--disable-multilib配置它