comp.lang.ada
 help / color / mirror / Atom feed
From: Luke A. Guest <laguest@archeia.com>
Subject: Re: Ada and C++ in the same binary, was: Re: Current status of Ada development for an Android target ?
Date: Sun, 19 Jun 2016 16:32:14 +0100
Date: 2016-06-19T16:32:14+01:00	[thread overview]
Message-ID: <421848116.488042939.962509.laguest-archeia.com@nntp.aioe.org> (raw)
In-Reply-To: nk6c1o$6us$3@dont-email.me

Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:

>>> 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++?
> 
> The C++ idea is for the low level code which could be used elsewhere.
> If I write that low level code in Ada then how do I port it to a target
> which may not have an Ada compiler available for it ?

Obviously, if GCC has a backend target done, getting Ada on it is generally
trivial bless it's got weird exception handling, I don't know when they did
it but they finally added arm specific eh.

In this specific case it would help to know which specific targets you
need. 

Luke




  reply	other threads:[~2016-06-19 15:32 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
2016-06-19 15:00           ` Simon Clubley
2016-06-19 15:32             ` Luke A. Guest [this message]
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