This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: zack at codesourcery dot com, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: 23 May 2002 23:48:12 +0200
- Subject: Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds
- References: <10205232128.AA01873@vlsi1.ultra.nyu.edu>
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