comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: More Ganssle on Ada
Date: Mon, 21 Jan 2013 07:52:30 -0800 (PST)
Date: 2013-01-21T07:52:30-08:00	[thread overview]
Message-ID: <8c72fc78-46f3-4865-81c5-433dd6d61633@googlegroups.com> (raw)
In-Reply-To: <f5067c0a-3459-4595-b927-9b52caf47415@googlegroups.com>

Ok, let's sort this once and for all.

Building an ARM Linux compiler is doable now. The only problem with it is that it doesn't use the unwind-arm.[ch] files in gcc/config/arm but does implement exceptions with setjmp/longjmp.

I ave tried to sort this out, it requires someone with more knowledge of the RTS than me. Basically, what needs to be done to sort this out is to move the current DWARF EH code into a new package, and create an ARM equivalent, this is because the standard unwind and the unwind-arm stuff is very different and the data would be wrong on the Ada side.

I submitted a patch to the GCC ML which does the first part and kind of works, but fails in the end. The response from AdaCore was something along the lines "you need to construct and ARM specific exception object," thanks, very helpful.

I have built the meta-ada layer for Yocto also, but this doesn't build shared libs at this time as the compiler just won't do it, not sure why at this time.

I have built arm-eabi-none-elf compilers as well and used it for bare metal programming.

So, it's doable, but limited.

Luke.



  reply	other threads:[~2013-01-21 15:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-17 20:20 More Ganssle on Ada mjsilva
2013-01-17 22:32 ` Jeffrey Carter
2013-01-18  4:56   ` Randy Brukardt
2013-01-18  6:23   ` J-P. Rosen
2013-01-18 15:08     ` Patrick
2013-01-18 23:46       ` Brian Drummond
2013-01-19 11:27         ` Dirk Craeynest
2013-01-19 14:19       ` Robert A Duff
2013-01-21 12:32         ` Georg Bauhaus
2013-01-21 13:34           ` Dmitry A. Kazakov
2013-01-21 14:34           ` Patrick
2013-01-21 15:12             ` Britt
2013-01-21 15:52               ` Lucretia [this message]
2013-01-24 12:18                 ` Andrew Haley
2013-01-24 15:10                   ` Lucretia
2013-01-21 22:26             ` Georg Bauhaus
2013-01-19 21:17 ` sbelmont700
2013-01-19 23:29   ` Patrick
2013-01-20  9:05     ` Micronian Coder
2013-01-21 20:05   ` Marc C
replies disabled

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