[dmd-internals] Building Phobos and druntime as a dylib on Mac OS X

Walter Bright walter at digitalmars.com
Sun Nov 20 11:30:31 PST 2011



On 11/20/2011 5:58 AM, Jacob Carlborg wrote:
> Which would mean that my simple test should fail as well, but it doesn't.
>>> 2. What should happen to the _tls_beg and _tls_end sections when a library is dynamically loaded, i.e. using dlopen?
>> I don't really know.
> No offense, but I thought if anyone would know this it would be you. I don't know if anyone else, like Sean, would know this but I really think we need to figure this out if we want to support dynamic libraries.
>

One reason dmd doesn't support dynlib yet is because I haven't done much 
research into how dynlib actually works.


More information about the dmd-internals mailing list