3.2 PATCH: Ada parallel bootstrap fixes

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Tue May 14 09:43:00 GMT 2002


Geert Bosch writes:

> Thanks for the patch. This is OK to apply. As you noted, this is not

thanks, installed.

> enough to allow parallel bootstrap, which incidentally was never 
> supported
> for GNAT. The biggest remaining issue is that currently two recursive
> makes are used for compiling gnat1 and gnatbind.

Indeed, apart from moving those parts of Makefile.in building libgnat and
tools to a separate file/directory at the toplevel: this would massively
untangle the build procedure.

One issue I found problematic when looking at what needs to be done to
avoid those recursive makes was the need for a special .c.o rule in
Makefile.in with ALL_ADA_CFLAGS added to the basic compilation flags.  If
this part is to be moved to Make-lang.in, this cannot be handled by a
suffix rule which wouldn't be specific to the ada compilations.  Unless
there's some special make magic, you have to provide a command with every
ada .c file which includes those flags.

	Rainer



More information about the Gcc-patches mailing list