comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: understanding runtime support
Date: Tue, 15 May 2012 07:55:55 -0700 (PDT)
Date: 2012-05-15T07:55:55-07:00	[thread overview]
Message-ID: <18407765.683.1337093755128.JavaMail.geo-discussion-forums@vbym15> (raw)
In-Reply-To: <28695516.0.1336708147839.JavaMail.geo-discussion-forums@pbcqw9>

Having spoken to you on IRC and email about this, I know what you are trying to do. Here are your options:

1) Use an existing OS and build GNAT to target that for your hardware.
2) Use bare metal GNAT - which isn't easy.

As for 1, you have a number of options:

* RTEMS
* MarteOS
* Linux (built for embedded target) + UClibc + GNAT

Each will require some work to target your hardware, as they will require drivers written to access the hardware - you would have to do this yourself anyway for bare metal programming.

Linux has been built for m68k machines, GNAT builds on Linux and would be trivial to add m68k for Linux, even though I remember having GNAT on an Amiga for both Linux and AmigaOS years ago.

If you went bare metal compiler, you would need to define what you needed in the runtime. Do you really need tasking? Do you really need full exception handling? If not, you can just have local exceptions which will call last_chance_handler anytime something goes wrong, in that procedure, you can do whatever you like, drop into remote gdb, dump the regs over serial, etc.

Luke.



  parent reply	other threads:[~2012-05-15 14:57 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11  3:49 understanding runtime support Patrick
2012-05-13  4:49 ` Shark8
2012-05-13 15:26   ` Patrick
2012-05-14  4:37     ` Shark8
2012-05-14  8:24     ` Ludovic Brenta
2012-05-14 11:31       ` Patrick
2012-05-14 18:34         ` Shark8
2012-05-14 20:04           ` Patrick
2012-05-14 21:02             ` mjsilva
2012-05-15  6:48               ` Randy Brukardt
2012-05-15 15:22                 ` mjsilva
2012-05-15 15:41                   ` Lucretia
2012-05-15 16:05                   ` Lucretia
2012-05-15 16:29                     ` mjsilva
2012-05-15 17:02                       ` Lucretia
2012-05-16 17:51                 ` Tero Koskinen
2012-05-17  6:39                   ` Simon Wright
2012-05-17 18:09                     ` Tero Koskinen
2012-05-17 18:15                     ` John B. Matthews
2012-05-15  7:47               ` Jacob Sparre Andersen
2012-05-15 16:27                 ` Jeffrey Carter
2012-05-15 16:38                 ` Brian Drummond
2012-05-15 16:49                   ` Patrick
2012-05-15 16:50                   ` Patrick
2012-05-15 14:24               ` Lucretia
2012-05-14 22:52             ` Shark8
2012-05-15  0:04               ` Patrick
2012-05-15  7:39               ` Dmitry A. Kazakov
2012-05-15 14:19       ` Lucretia
2012-05-15  7:26 ` Ludovic Brenta
2012-05-15 14:31   ` Lucretia
2012-05-16 16:24   ` tmoran
2012-05-17  0:15     ` Randy Brukardt
2012-05-15 14:48 ` Lucretia
2012-05-15 14:55 ` Lucretia [this message]
2012-05-15 15:32   ` Mike Silva
2012-05-15 16:04     ` Lucretia
replies disabled

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