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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: Ravenscar-compliant bounded buffer Reply-To: anon@anon.org (anon) References: <1188914005.607732.277400@57g2000hsv.googlegroups.com> <1189194299.326741.151840@50g2000hsm.googlegroups.com> <5BwKkEXdYLCt@eisner.encompasserve.org> X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Sat, 08 Sep 2007 05:13:07 GMT NNTP-Posting-Host: 12.65.192.134 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1189228387 12.65.192.134 (Sat, 08 Sep 2007 05:13:07 GMT) NNTP-Posting-Date: Sat, 08 Sep 2007 05:13:07 GMT Organization: AT&T Worldnet Xref: g2news2.google.com comp.lang.ada:1813 Date: 2007-09-08T05:13:07+00:00 List-Id: The DEC as I posted about the history of DEC and Ada before stated that they created the close source Ada libraries, that were originally written in C. Later the compiler was rewritten in Ada once the C version of an Ada compiler was operational, but even today most of the library core routines are still in C. What I was trying to hint at without beating someone up about it was that the C code files should go. Links to the Operating System and hardware drivers should be direct though use of the "Import pragma" not though a C interface driver file like GNAT and yes, and DEC still uses. And the C libraries need to be rewritten in Ada. But for GNAT and other Ada's systems that are supported on a muti-platform environments that means that instead of using C conditional statements in one file, the authors would have to recreate a platform specific Ada package for each platform and the authors would prefer not to. Plus, that could mean a break from GCC and its code structures for GNAT. Now for an operating systems or kernels that is wriiten in Ada that you can download and use, there are two Posix Real-Time systems out there. The first is the MaRTE and the second is RTERMS. But both of these rely on a set of C files for booting and to handle the processors interrupts. Actually the GNAT compiler even has packages and links for both kernel in its files structures. In <5BwKkEXdYLCt@eisner.encompasserve.org>, Kilgallen@SpamCop.net (Larry Kilgallen) writes: >In article , anon@anon.org (anon) writes: > >> For GNAT and most other Ada systems there is no Ada only "Run-Time >> System". Most uses the "C library" packages, some may use assembly >> or JAVA or even Pascal library packages for its RTS. > >Certainly DEC/Compaq/HP Ada has its own runtime library, purpose-built >for Ada support. It does rely on underlying operating system features, >but there is a lot of Ada-specificity in the way they are used.