From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,85034d1ac78a66eb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-23 12:09:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!wn3feed!wn1feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc54.POSTED!not-for-mail From: Wannabe h4x0r Subject: Re: Ada Operating System Newsgroups: comp.lang.ada References: <5Tzc8.111999$H37.15018616@news2-win.server.ntlworld.com> <3C73F480.5010806@mail.com> <9ff447f2.0202220108.7f14c9bc@posting.google.com> <9SMd8.122423$Pz4.542721@rwcrnsc53> <87y9hk46dl.fsf@deneb.enyo.de> User-Agent: Pan/0.11.1 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: "Florian Weimer" Message-ID: NNTP-Posting-Host: 12.245.48.122 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc54 1014494950 12.245.48.122 (Sat, 23 Feb 2002 20:09:10 GMT) NNTP-Posting-Date: Sat, 23 Feb 2002 20:09:10 GMT Organization: AT&T Broadband Date: Sat, 23 Feb 2002 20:09:10 GMT Xref: archiver1.google.com comp.lang.ada:20314 Date: 2002-02-23T20:09:10+00:00 List-Id: On Sat, 23 Feb 2002 09:31:18 -0500, Florian Weimer wrote: > Wannabe h4x0r writes: > >> The correct statement would be that GNAT is written in Ada95 and the >> GCC RTL. i.e. GCCs internal representation tokens. > > I wouldn't phrase it this way. GNAT trees are converted to GCC trees, > and this portion of the compiler is written in K&R C. AFAIK, most of > the time, it doesn't deal with RTL generation directly, either. RTL > generation from trees is the job of the GCC backend. > > You can't implement GCC functionality in RTL (only by transforming RTL, > but that's a different matter ;-). > >> As far as I know, there is not a single line of C code anywhere in the >> GNAT source code "proper". I could be mistaken, but I dont think I am. > > GNAT performs file I/O using the standard C library, for example. Some > low-level parts of the runtime library are written in C, too. Alright. I stand corrected. I did take a look at the source and I did find some "glue" code written in C. Nonetheless, it wouldn't be too difficult to build a stand alone compiler distinct from GCC using the GNAT sources and some creative use of Annex C in the LRM I suspect. No? Chris