This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

>     Huh? I am talking about the patch to compile __gnat_raise_exception()
>     with $(ADAC).
> 
> I don't remember that patch.  But I would then recommend compiling *all*
> of the Ada C files with $(ADAC).

Right, that's almost certainly the right aproach: at the moment,
bootstrapping with CC=cc (or some such) breaks if you happen to have an
Ada-capable compiler in your path.  In this scenario, ada gets built, but
in stage1, cc is used for all C sources.  But a non-gcc C compiler cannot
in general compile the Ada C sources (which are written in the GNU C
dialect).

To make this work, you need a way to override the .c.o rule for the Ada C
sources.

	Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]