Опитвам се да инсталирам GCC
4.7.1 на моя Mac, защото искам да актуализирам 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
това съобщение
/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?