shared libs for OSX

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri May 29 11:05:10 PDT 2015


On 2015-05-29 18:45, bitwise wrote:

> I'm going to test it out this weekend, but if I do get the wrong
> address, I think I can add a symbol with "__attribute__ ((visibility
> ("hidden")))" and use dladdr on that instead. I don't think hidden
> symbols should collide.

Doesn't "dlopen" open the current image if "null" is passed? And that 
void* which is returned is actually a "mach_header*", if I recall correctly.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list