[Ada] Bootstrapping mainline GNAT fails

Robert Dewar dewar@gnat.com
Mon Mar 18 17:43:00 GMT 2002


<<I am using GNAT 3.14p to compile Ada sources, and GCC 2.95 to compile
C sources; the resulting object modules are then linked together to
make stage1/gnat1.  Is that what you mean by a kludged-up compiler?
>>

There is no reason to think that will work, no one has ever tested this.
Maybe it works, maybe it does not. If it does not, I see no benefit in
trying to fix it. What possible value does trying to be compatible with
GCC 2.95 have at this point.

One thing to understand is that it is infeasible to ensure that GNAT compiles
with arbitrary mixtures of Ada and C compilers, there are literally hundreds
of such combinations. One of the reasons that we supply a C compiler as part
of the GNAT compiler, actually *the* main reason, is to provide a C compiler
that is known to be usable as a starting point for bootstrapping.



More information about the Gcc mailing list