Shared library in D on Linux

Ellery Newcomer ellery-newcomer at utulsa.edu
Tue Apr 10 07:21:28 PDT 2012


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


More information about the Digitalmars-d mailing list