comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Ada on Nintendo DS ?
Date: Sun, 29 Apr 2012 09:55:47 -0400
Date: 2012-04-29T09:55:47-04:00	[thread overview]
Message-ID: <wccaa1uhcbg.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: slrnjpnsuv.1lme.lithiumcat@sigil.instinctive.eu

Natasha Kerensikova <lithiumcat@gmail.com> writes:

> Is there some "official" list of what does not have to be supported on
> an RTL-less system? The C Standard has the notion of "freestanding" and
> "hosted" environments, which basically means without or with libc (which
> is quite weaker than POSIX); is there something similar in Ada RM?

No.  Some of the annexes are optional, but that's not really
analogous to C's "freestanding".  An "Ada" without any
run-time libraries is almost certainly not Ada -- it might
be a subset of Ada.

>...Or is
> it up to the compiler provider to decide what belong to RTL and what is
> code generated on bare metal?

Yes.  The same is true of C, by the way, and I suppose any
other high-level language.  Language definitions are in the
business of telling compiler writers what to do, not how to
get it done.

Note that the line is kind of fuzzy in the case of GNAT, because
some features are implemented as RTL calls, but those calls
can sometimes be inlined.

- Bob



  reply	other threads:[~2012-04-29 13:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27 18:56 Ada on Nintendo DS ? Natasha Kerensikova
2012-04-28  7:19 ` Stephen Leake
2012-04-28 13:43   ` Natasha Kerensikova
2012-04-29 13:55     ` Robert A Duff [this message]
2012-04-28  9:22 ` Brian Drummond
2012-04-29 18:29   ` Rugxulo
2012-05-03 12:37   ` Ada on embedded devices (Was: Ada on Nintendo DS ?) Jacob Sparre Andersen
2012-05-04  9:12     ` Brian Drummond
2012-05-04 11:17       ` Britt
2012-05-04 16:36         ` Tero Koskinen
2012-05-09  2:24         ` Ada on embedded devices BrianG
2012-05-04 16:42     ` Ada on embedded devices (Was: Ada on Nintendo DS ?) Tero Koskinen
2012-05-05 14:25     ` Lucretia
2012-05-01  5:34 ` Ada on Nintendo DS ? Micronian Coder
replies disabled

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