From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Ada and C++ in the same binary, was: Re: Current status of Ada development for an Android target ?
Date: Sat, 18 Jun 2016 11:24:39 -0700 (PDT)
Date: 2016-06-18T11:24:39-07:00 [thread overview]
Message-ID: <7cc0e66f-2a45-4cca-b670-0c3859f4b004@googlegroups.com> (raw)
In-Reply-To: <nk3q93$n06$1@dont-email.me>
On Saturday, June 18, 2016 at 9:44:37 AM UTC-6, Simon Clubley wrote:
> On 2016-06-16, Luke A Guest wrote:
> > Simon Clubley wrote:
> >> On 2016-06-16, Lucretia wrote:
> >>> Just to update, the FSF GCC 4.9.2, 5.4.0 and 6.1.0 do not compile any of
> >>> the 64 bit targets, they all fail. They are missing patches from Google
> >>> and I don't think they will ever get passed upstream.
> >>
> >> Thanks for the update Luke.
> >>
> >> Simon.
> >>
> >> PS: And thanks for looking.
> >>
> >
> > A quick way around this is I could build it based on the Google source
> > for4.9 and leave extracting the patches to spot to FSF for later. That
> > would work.
> >
>
> Thanks Luke, but please don't go to any special effort on my behalf.
>
> Having thought about the situation, I'm getting nervous once again about
> the "special" :-( situation around Ada compilers given that I'm not
> sure where some of this code might be used in the future.
Well, hopefully Byron will help push the available options up a bit.
> My current thinking (as of this morning :-)) is to maybe write the low
> level stuff in C++ (which is the code more likely to be used elsewhere)
> and to do the high level stuff in Ada.
I think I understand what you're saying... but wouldn't that invite errors in the lower levels? I rather like the focus that Ada puts on correctness. (And SPARK is pretty nifty, too.)
> The problem is that I don't have any experience combining C++ and Ada
> code in the same binary; in the past, I've only ever called plain C code
> from Ada.
What about writing it all in Ada and providing an export interface to C++?
next prev parent reply other threads:[~2016-06-18 18:24 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-11 15:51 Current status of Ada development for an Android target ? Simon Clubley
2016-06-12 7:28 ` Luke A. Guest
2016-06-12 8:25 ` Luke A. Guest
2016-06-12 8:27 ` Luke A. Guest
2016-06-12 23:36 ` Simon Clubley
2016-06-13 4:24 ` Shark8
2016-06-13 13:49 ` Lucretia
2016-06-13 14:34 ` Lucretia
2016-06-14 13:22 ` jrmarino
2016-06-14 18:39 ` Simon Clubley
2016-06-15 9:41 ` jrmarino
2016-06-15 13:11 ` Simon Clubley
2016-06-15 12:12 ` Luke A. Guest
2016-06-15 13:02 ` Simon Clubley
2016-06-15 13:13 ` Lucretia
2016-06-16 19:20 ` Lucretia
2016-06-16 19:29 ` Simon Clubley
2016-06-16 19:49 ` Luke A. Guest
2016-06-18 15:44 ` Ada and C++ in the same binary, was: " Simon Clubley
2016-06-18 16:38 ` Simon Clubley
2016-06-18 18:21 ` Luke A. Guest
2016-06-19 14:50 ` Simon Clubley
2016-06-18 18:24 ` Shark8 [this message]
2016-06-19 15:00 ` Simon Clubley
2016-06-19 15:32 ` Luke A. Guest
2016-06-19 17:52 ` Simon Clubley
2016-06-19 18:40 ` Luke A. Guest
2016-06-19 19:16 ` Simon Clubley
2016-06-19 20:32 ` Luke A. Guest
2016-06-20 12:11 ` Jacob Sparre Andersen
2016-06-20 14:28 ` Luke A. Guest
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox