From: Stephen Leake <Stephe.Leake@nasa.gov>
Subject: Re: Is it possible to build an Ada cross-compiler for an 8-bit embedded target now that gcc 3.X has support for Ada?
Date: 18 Nov 2003 11:03:57 -0500
Date: 2003-11-18T16:08:15+00:00 [thread overview]
Message-ID: <uptfp3bpu.fsf@nasa.gov> (raw)
In-Reply-To: vrih63aerng37f@corp.supernews.com
"Randy Brukardt" <randy@rrsoftware.com> writes:
> "Peter Milliken" <peterm@resmed.com.au> wrote in message
> news:zgRsb.200$co2.10332@nnrp1.ozemail.com.au...
> >
> > Now that you can build an Ada compiler using gcc 3.X (well,
> > according to the build instructions of gcc 3.x :-)), I began to
> > wonder whether it was possible to build a cross-compiler for an
> > 8-bit target processor. The 8-bit processor family in question is
> > already supported by gcc (I believe).
> >
> > When I say "possible", I just mean "follow the cross-compiling
> > instructions and out pops an Ada compiler" - I don't mean, "spend
> > months of work patching various files and then you might have an
> > Ada compiler" :-)
>
> To not answer your actual question at all, but...
>
> As someone else pointed out, the biggest cost/overhead is porting the
> runtime libraries.
Note that the "no runtime" subset of Ada is still a _far_ better
language than C. So it is worth persuing, since you already have the
code-generation part in the gcc back end. The result won't be "Ada",
but it will be a very useful subset.
GNAT provides a "pragma No_Runtime", which reports errors for any code
that would use the runtime, so you can tell when you need to change
the code.
--
-- Stephe
next prev parent reply other threads:[~2003-11-18 16:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-13 19:50 Is it possible to build an Ada cross-compiler for an 8-bit embedded target now that gcc 3.X has support for Ada? Peter Milliken
2003-11-13 21:02 ` Peter Milliken
2003-11-14 9:53 ` Peter Amey
2003-11-14 18:59 ` Mike Silva
2003-11-14 19:52 ` Martin Dowie
2003-11-17 21:57 ` Randy Brukardt
2003-11-18 16:03 ` Stephen Leake [this message]
2003-11-18 20:17 ` Randy Brukardt
2003-11-18 22:10 ` Stephen Leake
2003-11-19 20:12 ` Randy Brukardt
2003-11-19 22:23 ` Chad R. Meiners
2003-11-18 19:55 ` Peter Milliken
2003-11-18 20:11 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox