Andrew Pinski writes: > This is wrong as -iquote takes an operand. So it is eating up -I. for > the -iquote. You have to replace all of the -I after -I- with > -iquote.
OK, here is an amended patch. I don't dare call it "trivial" anymore :) (Note that even the "wrong" patch solved the problem reported on Debian, though). 2011-08-11 Ludovic Brenta <ludo...@ludovic-brenta.org> PR ada/50048 * gcc-interface/Makefile.in (INCLUDES): replace -I- with -iquote. Index: b/src/gcc/ada/gcc-interface/Makefile.in =================================================================== --- a/src/gcc/ada/gcc-interface/Makefile.in +++ b/src/gcc/ada/gcc-interface/Makefile.in @@ -247,8 +247,8 @@ # 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)/config \ - -I$(srcdir)/../include +INCLUDES = -iquote . -iquote .. -iquote $(srcdir)/ada -iquote$(srcdir) \ + -iquote $(srcdir)/config -iquote $(srcdir)/../include ADA_INCLUDES = -I- -I. -I$(srcdir)/ada