Instalación de GCC 4.7.1 en OS X
Estoy tratando de instalarGCC
4.7.1 en mi Mac porque quiero actualizar elLLVM GCC
4.2 dado en XCode.
He descargadoGCC
4.7.1 y he colocado elgcc-4.7.1
carpeta en~/Downloads
, luego seguí las instrucciones dadas aquí:http://gcc.gnu.org/install/ y escribí
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
y la configuración muestra problemas.
Entonces escribi
make
Y todo va bien hasta que me dan este mensaje.
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
Entonces elmake check
me da este mensaje
/bin/sh: line 0: cd: ./fixincludes: No such file or directory
make[1]: *** [check-fixincludes] Error 1
make: *** [do-check] Error 2
Y elmake install
este mensaje
/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
¿Cómo puedo solucionar estos problemas y tener miGCC
4.7.1 instalado?