comp.lang.ada
 help / color / mirror / Atom feed
From: nfeske <norman.feske@genode-labs.com>
Subject: Re: Genode implements zero-footprint runtime for Ada and SPARK
Date: Thu, 26 Nov 2009 07:47:59 -0800 (PST)
Date: 2009-11-26T07:47:59-08:00	[thread overview]
Message-ID: <f7b17a2a-c4ba-4421-9f70-546efcb6e928@c34g2000yqn.googlegroups.com> (raw)
In-Reply-To: 55557e31-238b-4aa1-b184-9a31de5c5045@e27g2000yqd.googlegroups.com

Hello,

as a developer of Genode, I am happy about the response to our Ada-
related
addition. As stated in the release notes, the current integration of
Ada
support is mainly geared towards using Genode as an experimentation
platform
for developing Spark sub programs. It is just the first step. If more
people
outside the current Genode developer community show interest in this
particular
topic, we will be happy to extend the Ada support as needed.

On Nov 26, 3:08 pm, AdaMagica <christoph.gr...@eurocopter.com> wrote:
> Hm, later on this page it says "Elaboration is not performed". How can
> then Ada code work at all?

The mentioned limitation refers to package initializations normally
performed
by the startup code generated by gnatbind, specifically the 'ada_init'
function.
The current use case for Ada on Genode is to use Spark for creating
type and
utility packages with free-standings functions called from C code.
Because such
packages have no internal state and no begin-end block, we can omit
gnatbind
for now. However, should the need for elaborating packages in the
right order
arise in the future, support for calling gnatbind will be added to the
build
environment. In short, the solution comes down to calling gnatmake
with the
'-c -b' arguments, adding the generated startup code to the program,
and
actually calling 'adainit'.

Best regards
Norman



      parent reply	other threads:[~2009-11-26 15:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26  9:18 Genode implements zero-footprint runtime for Ada and SPARK Ludovic Brenta
2009-11-26 10:10 ` Peter Hermann
2009-12-23 13:52   ` please ignore Peter Hermann
2009-11-26 14:08 ` Genode implements zero-footprint runtime for Ada and SPARK AdaMagica
2009-11-26 15:45   ` Ludovic Brenta
2009-11-26 15:47   ` nfeske [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