我试图安装GCC
在我的Mac 4.7.1,因为我想更新的LLVM GCC
4.2 XCode中给出。
我已经下载了GCC
4.7.1,我已经放置在gcc-4.7.1
文件夹中的~/Downloads
,然后我跟着的指示在这里: http://gcc.gnu.org/install/和我写的
cd ~/Desktop
mkdir objdir
cd objdir
~/Downloads/gcc-4.7.1/configure --with-gmp=/usr/local/include --with-mpfr=/usr/local/include --with-mpc=/usr/local/include
并且配置不显示的问题。
然后我写了
make
而这一切都很好,直到我给出的这个消息
rm -f stage_current
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1obj-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Bootstrap comparison failure!
gcc/intl.o differs
make[2]: *** [compare] Error 1
make[1]: *** [stage3-bubble] Error 2
make: *** [all] Error 2
然后make check
给了我这个消息
/bin/sh: line 0: cd: ./fixincludes: No such file or directory
make[1]: *** [check-fixincludes] Error 1
make: *** [do-check] Error 2
而make install
这messagge
/bin/sh /Users/fpiro07/Downloads/gcc-4.7.1/mkinstalldirs /usr/local /usr/local
/bin/sh: line 0: cd: ./fixincludes: No such file or directory
make[1]: *** [install-fixincludes] Error 1
make: *** [install] Error 2
如何解决这些问题,有我的GCC
4.7.1安装?