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-Thread: 103376,d495ab2e69ad1962 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.news-service.com!newsfeed.freenet.de!85.12.40.130.MISMATCH!xlned.com!feeder1.xlned.com!newsfeed.bahnhof.se!fi.sn.net!newsfeed1.fi.sn.net!news.song.fi!not-for-mail Date: Sat, 08 Sep 2007 14:50:19 +0300 From: Niklas Holsti User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060628 Debian/1.7.8-1sarge7.1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ravenscar-compliant bounded buffer References: <1188914005.607732.277400@57g2000hsv.googlegroups.com> <1189194299.326741.151840@50g2000hsm.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <46e28a6a$0$27847$39db0f71@news.song.fi> Organization: TDC Song Internet Services NNTP-Posting-Host: laku61.adsl.netsonic.fi X-Trace: 1189251690 news.song.fi 27847 81.17.205.61:32813 X-Complaints-To: abuse@song.fi Xref: g2news2.google.com comp.lang.ada:1814 Date: 2007-09-08T14:50:19+03:00 List-Id: anon wrote: > And the GNU/GPL GNAT Ada is just a frontend compiler to the GCC. If > you look at the source code "Back_end.adb" you will see a link to a C > coded procedure called gigi (gnat-to-gcc) which calls the C "Run-Time" > compiler. The C "Run-Time" compiler then converts the GNAT C > generated code to the object modules. Saying that GNAT generates C code is nonsense, as you have been answered earlier on this newsgroup. The GU Compiler Collection has a common internal program representation that interfaces the front ends to the back end, but this representation is not C. > For GNAT and most other Ada systems there is no Ada only "Run-Time > System". That does not agree with my experience. Two of the three Ada systems for embedded platforms that I have used have had their own Ada RTS: TLD Ada and XGC Ada. XGC Ada is based on the GNAT compiler but has its own kernel and libraries (mostly written in Ada, too, as far as I remember). The third compiler was DEC Ada. I used it for applications on a microVAX under VMS but as I remember it could also create programs to run on a simpler real-time kernel called VAXELN. I think VAXELN was not written in Ada and could also be used from other languages. And why not. Then there is the Open Ravenscar Kernel ORK for GNAT, http://polaris.dit.upm.es/~ork/, also written in Ada. For general (workstation, server) platforms of course Ada vendors do the sensible thing and connect to the existing OS interfaces, in most cases designed for C as the lowest common denominator. There have been full-Ada systems even outside the embedded domain. Long ago, when Nokia (yes, the mobile phone company) was selling computers they developed a 32-bit system called MPS10 to compete with VAXes for data processing applications. The software, including the OS and database system, was in Ada. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .