Shared library in D on Linux

Timo Westkämper" <timo.westkamper at gmail.com> Timo Westkämper" <timo.westkamper at gmail.com>
Tue Apr 10 10:21:43 PDT 2012


On Tuesday, 10 April 2012 at 14:21:28 UTC, 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

Yes, I experienced the same.


More information about the Digitalmars-d mailing list