From: Lucretia <lucretia9@lycos.co.uk>
Subject: Re: How do I go about creating a minimal GNAT runtime?
Date: Sun, 25 Jan 2009 06:00:01 -0800 (PST)
Date: 2009-01-25T06:00:01-08:00 [thread overview]
Message-ID: <f8981d5d-a3be-49a9-89c5-287b9d2200fb@o40g2000prn.googlegroups.com> (raw)
In-Reply-To: 3eff96d5-50ff-4cd2-84ad-ab5e8342aaaa@p23g2000prp.googlegroups.com
On Jan 25, 11:13 am, Ludovic Brenta <ludo...@ludovic-brenta.org>
wrote:
> That sounds reasonable. gnatmake (a host tool) reads the .ali files to
> decide what it needs to recompile. Then it calls the cross compiler
> (cross gcc), which produces new .o and .ali files, and then the cross
> binder (gnatbind).
>
> I'm not entirely sure whether gnatlink is a host-only tool, or if you
> need a cross version of it. In any case you do need a cross ld.
Seems a cross gnatlink is not required as one isn't built, looking at
the help text it seems it can take cross tools using extra flags. Yes,
a cross ld is built at the binutils stage.
> > The thing is, I've been trying to enable exceptions, but keep coming
> > across big problems in that the runtime requires features that are
> > being restricted, such as returning aggregates and assigning
> > composites, returning unconstrained objects which requires the
> > secondary stack. So, what I really need to know is, how do I create a
> > runtime which is restricted in this way for bare hw access?
>
> I don't know the relationship (if any) between exception propagation,
> exception handling and the secondary stack. Xavier Grave does :)
>
> Have you had a look at the OS Lovelace sources? OS Lovelace supports
I can't as the server is down, again.
> exceptions in th kernel; it does that by building a minimal, patched,
> GNAT runtime into the kernel.
Yes, I would like to see how he's done that.
Luke.
next prev parent reply other threads:[~2009-01-25 14:00 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-24 20:47 How do I go about creating a minimal GNAT runtime? Lucretia
2009-01-25 11:13 ` Ludovic Brenta
2009-01-25 11:18 ` Ludovic Brenta
2009-01-25 14:00 ` Lucretia
2009-01-25 14:00 ` Lucretia [this message]
2009-01-25 19:43 ` Ludovic Brenta
2009-01-25 20:30 ` xavier grave
2009-01-26 6:52 ` anon
2009-01-26 21:36 ` anon
2009-02-10 2:34 ` Exceptions (was Re: How do I go about creating a minimal GNAT runtime?) anon
2009-02-16 1:41 ` How do I go about creating a minimal GNAT runtime? Hibou57 (Yannick Duchêne)
2009-02-21 9:11 ` Dimonax
2009-02-21 16:41 ` anon
2009-02-21 21:14 ` Dimonax
2009-02-22 1:36 ` anon
2009-02-27 23:42 ` Randy Brukardt
2009-03-01 1:12 ` Dimonax
2009-03-01 19:13 ` anon
2009-03-02 22:07 ` Randy Brukardt
2009-03-03 2:00 ` anon
2009-03-03 22:23 ` lucretia
2009-03-04 0:03 ` anon
2009-03-11 12:54 ` gautier_niouzes
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox