3.2 PATCH: Fully support parallel gnat1/gnatbind builds
Hans-Peter Nilsson
hp@bitrange.com
Fri May 31 05:56:00 GMT 2002
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.
brgds, H-P
More information about the Gcc-patches
mailing list