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


dewar@gnat.com (Robert Dewar)  wrote on 25.05.02 in <20020525162357.3B37BF28D4@nile.gnat.com>:

> 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.

Another approach, one that works for *any* frontend needing to compile  
itself that is not C, would be as follows:

Suppose you have an emulator that is extremely portable, and has enough  
support to run gcc, and configure, and make, and whatever else is needed.  
(Maybe even one of the existing emulators qualifies?) And hopefully, it's  
also not extremely slow.

Then you could use *one* pre-built setup to bootstrap, via cross  
compilers, a new target. You'd not even have to keep that setup current -  
just current enough to be able to compile current sources.

Of course, that's also not a partiularly small project, but it is one that  
doesn't actually need any new technology (assuming an existing emulator  
qualifies), "just" putting together the pieces.

MfG Kai


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