Tango built as a dynamic library

Michel Fortin michel.fortin at michelf.com
Tue Mar 16 12:53:57 PDT 2010


On 2010-03-16 15:01:43 -0400, Walter Bright <newshound1 at digitalmars.com> said:

> Jacob Carlborg wrote:
>> I've managed to build Tango as a dynamic library with DMD on Mac OS X. 
>> I had some problems first but I managed to solve them and everything 
>> seems to work now.
> 
> Thanks for doing this.
> 
> In the next update, I plan to remove the special deh sections, and 
> instead make the EH tables available through the ModuleInfo. This 
> should simplify the management of multiple sections, as the only data 
> structure that needs to be aggregated will be the ModuleInfo array.

Shouldn't that also apply to TLS sections for when the linker does not 
support the feature? I'm thinking of Mac OS X and Windows XP with 
dynamically-loaded DLLs.


-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d-announce mailing list