comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP>
Subject: Ada and C++ in the same binary, was: Re: Current status of Ada development for an Android target ?
Date: Sat, 18 Jun 2016 15:44:36 -0000 (UTC)
Date: 2016-06-18T15:44:36+00:00	[thread overview]
Message-ID: <nk3q93$n06$1@dont-email.me> (raw)
In-Reply-To: 623218455.487799273.877639.laguest-archeia.com@nntp.aioe.org

On 2016-06-16, Luke A  Guest <laguest@archeia.com> wrote:
> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>> On 2016-06-16, Lucretia <laguest9000@googlemail.com> 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.

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.

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.

Does anyone know of any issues combining C++ and Ada code in the same
binary when using gcc and binutils ? Are there any conflicts with
exceptions for example ?

The primary use of such binaries would be on a Linux x86 (and maybe
ARM) platform.

Thanks,

Simon.

-- 
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world

  reply	other threads:[~2016-06-18 15:44 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       ` Simon Clubley [this message]
2016-06-18 16:38         ` Ada and C++ in the same binary, was: " 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
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