comp.lang.ada
 help / color / mirror / Atom feed
From: Diogenes <phathax0r@gmail.com>
Subject: Re: Runtime startup code for the GNAT Runtime...and a bit of humble pie.
Date: Wed, 27 Mar 2013 14:10:43 -0700 (PDT)
Date: 2013-03-27T14:10:43-07:00	[thread overview]
Message-ID: <6e2beaab-5d23-48c8-84c2-1729e245cd6e@googlegroups.com> (raw)
In-Reply-To: <kivg1r$h53$1@munin.nbi.dk>

On Wednesday, March 27, 2013 3:07:37 PM UTC-4, Randy Brukardt wrote:
 
 
> 
> That's obviously compiler-specific (and probably specific to particular 
> 
> compiler versions as well). You need to specify a compiler and version to 
> 
> have any hope of a useful answer. (Certainly the answer is wildly different 
> 
> for Janus/Ada vs. GNAT vs. ObjectAda.)
> 
> 
> 
> I really wouldn't expect such a list to exist. We don't have one for 
> 
> Janus/Ada, for instance; it's certainly the case that there are many things 
> 
> that require minimal runtime support but we've never had any reason to 
> 
> figure it out.

I was considering the bootstrapping procedure actually. I was curious if it was possible to do the actual startup code in Ada, with maybe a little Assembler thrown in.
No doubt that it's compiler specific. I'm using GNAT/GCC 4.4
 
> 
> Janus/Ada always assumes a small runtime. Since we provide the complete 
> 
> source code to the runtime in the professional packages, and the code 
> 
> includes a number of minimal support switches, you could make a version that 
> 
> requires nothing but memory setup and some form of "put_line" without too 
> 
> much trouble. (We used to sell embedded versions for bare 16-bit processors, 
> 
> but that business didn't translate to 32-bit processors.) I suspect that the 
> 
> situation is similar for GNAT.
> 
> 
> 
> As far as correctness goes, that's what the ACATS is for. (Figuring out how 
> 
> to run it on a bare machine might be interesting, however.) It won't prove 
> 
> that absolutely everything works, but you'll get a fair certainty that you 
> 
> didn't make any major mistakes.
 
Combine that with the SPARK tools and I can be even more certain.
 
> 
>                                 Randy.


Diogenes


      reply	other threads:[~2013-03-27 21:10 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-18 20:59 Runtime startup code for the GNAT Runtime...and a bit of humble pie Diogenes
2013-03-18 21:14 ` Robert A Duff
2013-03-19  0:07 ` Diogenes
2013-03-19 10:04   ` Brian Drummond
2013-03-19 12:51     ` Simon Clubley
2013-03-19 18:16       ` Ludovic Brenta
2013-03-20  1:05         ` Simon Clubley
2013-03-20 10:13           ` Mike H
2013-03-20 20:44             ` Ludovic Brenta
2013-03-19 21:43       ` Randy Brukardt
2013-03-20  8:24         ` Dmitry A. Kazakov
2013-03-21  0:16           ` Randy Brukardt
2013-03-21 19:08             ` Shark8
2013-03-21 23:34               ` Randy Brukardt
2013-03-22 16:39                 ` Jacob Sparre Andersen
2013-03-23 10:56                   ` Thomas Løcke
2013-03-19 23:13       ` Brian Drummond
2013-03-20  0:54         ` Simon Clubley
2013-03-20 11:50           ` Brian Drummond
2013-03-20 13:18             ` Simon Clubley
2013-03-26 11:04               ` Brian Drummond
2013-03-26 22:38                 ` Simon Clubley
2013-03-27 11:34                   ` Brian Drummond
2013-03-27 14:38                     ` Simon Clubley
2013-03-27 22:58                       ` Brian Drummond
2013-03-20 14:17           ` Lucretia
2013-03-20 15:00             ` Lucretia
2013-03-21 16:39             ` Brian Drummond
2013-03-23  4:35 ` Diogenes
2013-03-26 21:27 ` Diogenes
2013-03-26 21:57   ` Shark8
2013-03-27  0:28     ` Diogenes
2013-03-27  2:27       ` Shark8
2013-03-27 10:05       ` Brian Drummond
2013-03-27 12:23         ` Simon Wright
2013-03-27 19:07   ` Randy Brukardt
2013-03-27 21:10     ` Diogenes [this message]
replies disabled

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