Desperately looking for a work-around to load and unload D shared libraries from C on OSX

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 27 10:15:11 PDT 2015


On Thursday, 17 September 2015 at 21:13:46 UTC, bitwise wrote:
> The op shouldn't have to actually modify druntime in this case. 
> He shouldn't have to replace 
> "_dyld_register_func_for_add_image".

Now that you guys digged in the dyld implementation, did anyone 
find a solution to use the callback mechanism and still support 
unloading of libraries?
Pinning libraries is only a hacky workaround.

Let's please continue the discussion in Bugzilla.
https://issues.dlang.org/show_bug.cgi?id=15060#c4


More information about the Digitalmars-d mailing list