Instalowanie GCC 4.7.1 w systemie OS X
Próbuję zainstalowaćGCC
4.7.1 na moim Macu, ponieważ chcę zaktualizowaćLLVM GCC
4.2 podane w XCode.
PobrałemGCC
4.7.1 i umieściłemgcc-4.7.1
folder w~/Downloads
, następnie postępowałem zgodnie z instrukcjami podanymi tutaj:http://gcc.gnu.org/install/ i napisałem
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
a konfiguracja pokazuje problemy.
Potem napisałem
make
i wszystko idzie dobrze, dopóki nie otrzymam tej wiadomości
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
A późniejmake check
daje mi tę wiadomość
/bin/sh: line 0: cd: ./fixincludes: No such file or directory
make[1]: *** [check-fixincludes] Error 1
make: *** [do-check] Error 2
Imake install
ten komunikat
/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
Jak mogę rozwiązać te problemy i mieć mojeGCC
4.7.1 zainstalowany?