comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: understanding runtime support
Date: Tue, 15 May 2012 00:26:37 -0700 (PDT)
Date: 2012-05-15T00:26:37-07:00	[thread overview]
Message-ID: <25378735.47.1337066797139.JavaMail.geo-discussion-forums@vbvx4> (raw)
In-Reply-To: <28695516.0.1336708147839.JavaMail.geo-discussion-forums@pbcqw9>

Patrick,

As I said before, "embedded" means many different things.  The
cheapest and easiest solution is Debian for ARM, it comes with
everything you need, precompiled and ready to go.  Don't be sad that
it contains a Linux kernel and a glibc written in C.  As for
controlling a purpose-built device, it is quite possible that this
purpose-built device can run Debian ARM.  After all, the Raspberry Pi
comes very close to what you need and it runs Debian ARM.  Also, a
purpose-built device might not be the most appropriate solution,
maybe (just maybe) an app running on a smartphone might be better.

If you insist on programming the bare metal in Ada but are a one-man
company with no prior experience, then yes you are being unreasonable.
As Randy pointed out, this is a *very* time-consuming endeavor even
if you start from the GNAT sources.  But it is doable and it has been
done before (I remember writing the firmware for avionics devices in
Ada, programming to the bare metal.  The Ada run-time did not support
tasking or memory deallocation, and could not propagate exceptions
beyond the frame that raised them.  We "just" lived with these
constraints).

I encourage anyone with enough time and expertise to donate some and
send me the patches necessary to support GNAT as a cross-compiler
with Debian as the host and whatever strikes your fancy as the target.
(While I'm at it, I feel I can pre-announce the availability of GNAT
on Debian armhf, thanks to the hard work of Tero Koskinen.  Stay
tuned for the official announcement.)

-- 
Ludovic Brenta.



  parent reply	other threads:[~2012-05-15  7:26 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 [this message]
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
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