comp.lang.ada
 help / color / mirror / Atom feed
From: anon@anon.org (anon)
Subject: Re: Ravenscar-compliant bounded buffer
Date: Sat, 08 Sep 2007 05:13:07 GMT
Date: 2007-09-08T05:13:07+00:00	[thread overview]
Message-ID: <DbqEi.507138$p47.352055@bgtnsc04-news.ops.worldnet.att.net> (raw)
In-Reply-To: 5BwKkEXdYLCt@eisner.encompasserve.org

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 <TRlEi.505983$p47.38772@bgtnsc04-news.ops.worldnet.att.net>, 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.




  reply	other threads:[~2007-09-08  5:13 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 13:53 Ravenscar-compliant bounded buffer Maciej Sobczak
2007-09-05  3:00 ` Steve
2007-09-05  7:38   ` Maciej Sobczak
2007-09-06  4:04     ` Steve
2007-09-06 14:06       ` Robert A Duff
2007-09-06 15:36         ` Dmitry A. Kazakov
2007-09-07  2:36           ` Robert A Duff
2007-09-06 21:13         ` Maciej Sobczak
2007-09-07  2:41           ` Robert A Duff
2007-09-07 11:56           ` anon
2007-09-07 19:44             ` Maciej Sobczak
2007-09-08  0:16               ` anon
2007-09-08  1:19                 ` Larry Kilgallen
2007-09-08  5:13                   ` anon [this message]
2007-09-08 22:06                     ` Larry Kilgallen
2007-09-09  2:17                       ` anon
2007-09-09 12:07                         ` Larry Kilgallen
2007-09-09 13:10                         ` Markus E L
2007-09-11  2:44                     ` Randy Brukardt
2007-09-08 11:50                 ` Niklas Holsti
2007-09-08 12:01                   ` Pascal Obry
2007-09-08 17:13                     ` anon
2007-09-08 17:11                   ` anon
2007-09-08 19:14                     ` Markus E L
2007-09-09 14:54                       ` anon
2007-09-09 16:01                         ` Markus E L
2007-09-09 10:38                     ` Gautier
2007-09-09 11:41                       ` anon
2007-09-09 13:19                         ` Markus E L
2007-09-09 13:52                         ` Pascal Obry
2007-09-09 15:22                           ` anon
2007-09-09 16:03                             ` Markus E L
2007-09-10  0:05                               ` Larry Kilgallen
2007-09-10  3:10                                 ` Markus E L
2007-09-09 16:05                             ` Markus E L
2007-09-09 18:40                             ` Ed Falis
2007-09-09 19:11                               ` Markus E L
2007-09-09 10:57                     ` Gautier
2007-09-09 14:49                       ` anon
2007-09-09 15:08                         ` Pascal Obry
2007-09-09 15:38                         ` Markus E L
2007-09-09 19:12                     ` Niklas Holsti
2007-09-09 19:28                       ` Ed Falis
2007-09-10 12:51                   ` Colin Paul Gloster
2007-09-07  1:38         ` Steve
2007-09-07  2:47           ` Robert A Duff
2007-09-05  7:46   ` Dmitry A. Kazakov
2007-09-05  8:17     ` brodax
2007-09-05  8:30     ` Jean-Pierre Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox