comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: Shered library in Ada - undefined symbols problem (Ubuntu)
Date: Tue, 9 Jul 2013 00:41:39 -0700 (PDT)
Date: 2013-07-09T00:41:39-07:00	[thread overview]
Message-ID: <41761b3c-d19d-43df-bfc3-b672925c01f1@googlegroups.com> (raw)
In-Reply-To: <lyzjtxxbr2.fsf@pushface.org>


> No problem with FSF GCC 4.6.0 on Mac OS X.

Thank you for checking.

> I tried
> 
>    for Library_Auto_Init use "true";
> 
> and removing the calls to ada_moduleinit() and ada_modulefinal(), which
> gave a segv on 4.6 but was fine on 4.8.1.

Which is a huge pity, as this difference will impact the portability of projects (the program will crash on one version or the other). Moreover, now I'm not even sure what is the intended/recommended strategy with regard to these calls.

> In both cases I used gprbuild, because of gnatmake's inability to deal
> with .dylibs & rpath properly.

Which brings the question: why not fix gnatmake in the first place?

-- 
Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com

      reply	other threads:[~2013-07-09  7:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08 11:43 Shered library in Ada - undefined symbols problem (Ubuntu) Maciej Sobczak
2013-07-08 11:54 ` Maciej Sobczak
2013-07-08 16:22   ` Simon Wright
2013-07-09  7:41     ` Maciej Sobczak [this message]
replies disabled

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