shared libs for OSX

Timothee Cour via Digitalmars-d digitalmars-d at puremagic.com
Thu May 21 01:12:19 PDT 2015


dlopen() of a D shared library works when called from a C++ file, and that
a C++ file can call multiple D shared libraries simultaneously when using
RTLD_LAZY option.

Before waiting for a full solution with an integrated druntime, is there at
least a way to have a separate runtime in each shared library, so that
dlopen() can be called from a D file?

On Thu, May 21, 2015 at 1:07 AM, Jacob Carlborg via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On 2015-05-20 23:35, bitwise wrote:
>
>  Heh.. That's pretty useless. Any idea on the state of things? Like if
>> there are plans to support this in the near future(few months)? I
>> couldn't find many conversations on this. This kinda-totally ruins my
>> plans(on OSX at least).
>>
>
> I don't think anyone is working on this. Native TLS is a prerequisite
> which requires changes both to the compiler and the runtime. There's an
> enhancement request for native TLS [1].
>
> [1] https://issues.dlang.org/show_bug.cgi?id=9476
>
> --
> /Jacob Carlborg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150521/713aab00/attachment.html>


More information about the Digitalmars-d mailing list