Shared library in D on Linux

Jacob Carlborg doob at me.com
Tue Apr 10 10:04:22 PDT 2012


On 2012-04-10 16:21, Ellery Newcomer wrote:
> On 04/10/2012 01:31 AM, Jacob Carlborg wrote:
>>
>> The module info (contains the module constructors) need to be setup
>> differently when linking as a shared library.
>>
>
> The odd thing is, when you skip _init and _fini and just do
>
> rt_init();
> writeln("stuff");
> rt_term();
>
> it doesn't segfault

Are the module constructors run?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list