On 20 nov 2011, at 20:30, Walter Bright wrote: > > > 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.
Ok, I see. I though that you might know since you have developed a C++ compiler as well. I assume dynamic libraries can be used with DMC. Note that when I say "dylib" I mean the general term "dynamic library" and not the Mac OS X specific implementation. -- /Jacob Carlborg _______________________________________________ dmd-internals mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-internals
