comp.lang.ada
 help / color / mirror / Atom feed
From: Luke A. Guest <laguest@archeia.com>
Subject: Re: Tiva + Ada
Date: Thu, 13 Feb 2014 21:23:49 +0000 (UTC)
Date: 2014-02-13T21:23:49+00:00	[thread overview]
Message-ID: <1547661175414018961.417057laguest-archeia.com@nntp.aioe.org> (raw)
In-Reply-To: cff6202c-7d41-47d2-bf25-1b17711af98e@googlegroups.com

I asked which is you were on because if you were on 64 bit linux I could
easily package up the latest compiler, I.e 4.9.0

The patch in tamp doesn't apply cleanly anymore. I have a patched GCC which
allows me, with a bit of fiddling, to build a cross compiler with gnattools
without rts.

You can use any prebuilt compiler eg arm-Linux and just redirect it using
the --RTS flag.

As for getting some niceties of the rts on bare metal, it works the same
for all platforms, start with a system.ads and the basic packages providing
compiler intrinsics, then you can add last_chance_handler for local
exceptions, then memset. Etc, etc which allows you to copy objects about.
If you want to return in constrained objects you need to add a simple
secondary stack, this can be say 4-8kb allocated in the linker script and
referenced in the secsta.adb.

If you want more then you just enable it in the restrictions pragma use it
and wait for the compiler to tell you what's missing.

Luke

  reply	other threads:[~2014-02-13 21:23 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-12 16:57 Tiva + Ada Rego, P.
2014-02-12 18:15 ` Tero Koskinen
2014-02-12 20:11   ` Luke A. Guest
2014-02-12 20:29     ` Rego, P.
2014-02-12 20:25   ` Rego, P.
2014-02-13 11:58   ` Brian Drummond
2014-02-13 14:14     ` Rego, P.
2014-02-13 21:23       ` Luke A. Guest [this message]
2014-02-14 15:55         ` Rego, P.
2014-02-16 23:35         ` Rego, P.
2014-02-17  9:37           ` Simon Wright
2014-02-17 12:41           ` Brian Drummond
2014-02-17 15:36             ` Simon Wright
2014-02-17 16:04               ` Simon Wright
2014-02-17 16:21                 ` Brian Drummond
2014-02-17 20:42                 ` Simon Wright
2014-02-22  4:21           ` Rego, P.
2014-02-22 11:31             ` Brian Drummond
2014-02-23 14:30               ` Luke A. Guest
2014-02-24 19:43                 ` Rego, P.
2014-02-24 19:42               ` Rego, P.
2014-02-13 21:34       ` Brian Drummond
2014-02-14 15:16 ` Lucretia
2014-02-14 15:56   ` Rego, P.
replies disabled

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