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]

Re: Why not gnat Ada in gcc?


<<Configure GNAT to produce java byte code and let it compile itself:
JGNAT.

This (and any binary produced by JGNAT) can be executed in a JVM or
directly on the host using GCC´s java front end:
>>

This might work with a lot of fiddling, certainly no one has tried it,
but more straightforward is to pick up an initial binary from cs.nyu.edu
(or some mirror site), and then bootstrap, or do a cross compile, 
depending on the environnment.

It is interesting that initially we were worried about the issue of
GNAT needing GNAT to compile, but in fact the impressive capabilities
for building cross compilers in gcc has meant that it is in practice
very easy for us and for others to move gcc to other machines (quite
a few ports were done by volunteers with no help from us, including
Mac, DOS, Amiga, NetBSD, FreeBSD, and others).

Robert Dewar

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