This is the mail archive of the
mailing list for the GCC project.
Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: <gcc-patches at gcc dot gnu dot org>, <gcc at gcc dot gnu dot org>
- Date: Fri, 31 May 2002 07:46:27 -0400 (EDT)
- Subject: Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds
On Fri, 31 May 2002, Richard Kenner wrote:
Robert Dewar wrote:
> > One interesting approach would be to have a mode in which GNAT generates
> > ANSI C (or actually GNU C would be more reasonable). Then the C sources
> > could be used to do a bootstrap. It would be otherwise valuable to have
> > a C generating backend for Ada (to bring Ada to machines with a C but
> > no Ada), so that would be an interesting project.
> Sounds great. I suggest adding this to projects/beginner.html
> (on second thought maybe not ;-) or start a projects/ada.html?
> It is *far* from a beginner's project.
Maybe the smiley didn't carry through: it was a joke. I think
several items in projects/beginner.html are a bit too
complicated, for example the "Revisit issues put off till
later", which generally requires archeology and intimate
knowledge about the issues.
> Indeed, the main reason it hasn't
> been done is that it is a very *hard* project. If you really want to use
> ANSI C, you have to figure out how to deal with nested functions. If you
> use GNU C, that isn't a problem, but you still have to deal with things
> like discriminated records and unconstrained arrays.
Great, more stuff to put in projects/ada.html. Maybe an initial
limited implementation would suffice for help with Ada
bootstrap, if the GCC Ada front end doesn't use those features.