http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-12-22 12:46:02 UTC --- > Try to add $GMPINC to INCLUDES & INCLUDES_FOR_SUBDIR in > gcc-interface/Makefile.in This leads to make -C ../gcc/ada/tools -f ../Makefile \ "CC=../../xgcc -B../../" "CFLAGS=-g -O2 -W -Wall" "LDFLAGS=-static-libstdc++ -static-libgcc " "ADAFLAGS=-gnatpg -gnata" "ADA_CFLAGS=" "INCLUDES=-I. -I.. -I../.. -I/opt/gcc/p_work/gcc/ada -I/opt/gcc/p_work/gcc/config -I/opt/gcc/p_work/gcc/../include -I/opt/gcc/p_work/gcc" "ADA_INCLUDES=-I- -I../rts -I. -I/opt/gcc/p_work/gcc/ada" "exeext=" "fsrcdir=/opt/gcc/p_work/gcc" "srcdir=/opt/gcc/p_work/gcc" "GNATMAKE=../../gnatmake" "GNATLINK=../../gnatlink" "GNATBIND=../../gnatbind" "TOOLSCASE=native" \ ../../gnatmake ../../gnatlink ../../xgcc -B../../ -c -DIN_GCC -g -O2 -W -Wall \ -iquote /opt/gcc/p_work/gcc \ -iquote . -iquote .. -iquote ../.. -iquote /opt/gcc/p_work/gcc/ada -iquote /opt/gcc/p_work/gcc -I/opt/gcc/p_work/gcc/../include MPINC \ ../rts/targext.c -o targext.o xgcc: error: MPINC: No such file or directory make[3]: *** [targext.o] Error 1 make[2]: *** [gnattools-native] Error 2 make[1]: *** [all-gnattools] Error 2 make: *** [all] Error 2 but I finished bootstrap with the following patch --- ../_clean/gcc/ada/gcc-interface/Makefile.in 2012-11-07 08:50:19.000000000 +0100 +++ ../p_work/gcc/ada/gcc-interface/Makefile.in 2012-12-22 13:34:39.000000000 +0100 @@ -273,7 +273,7 @@ endif # Both . and srcdir are used, in that order, # so that tm.h and config.h will be found in the compilation # subdirectory rather than in the source directory. -INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include +INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include $(GMPINC) ADA_INCLUDES = -I- -I. -I$(srcdir)/ada @@ -283,11 +283,11 @@ ADA_INCLUDES = -I- -I. -I$(srcdir)/ada ifneq ($(findstring vxworks,$(osys)),) INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \ -iquote $(fsrcdir)/ada \ - -I$(fsrcdir)/../include + -I$(fsrcdir)/../include $(GMPINC) else INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \ -iquote $(fsrcdir)/ada -iquote $(fsrcdir) \ - -I$(fsrcdir)/../include + -I$(fsrcdir)/../include $(GMPINC) endif ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdir)/ada Thanks for the tip. I'll try to bootstrap with java, but I cannot test go (AFAIR it does work on darwin).