Shared library in D on Linux
Jacob Carlborg
doob at me.com
Tue Apr 10 13:02:16 PDT 2012
On 2012-04-10 21:28, Ellery Newcomer wrote:
> tried using __attribute__((constructor)) instead of _init.
>
> If I'm getting this line to fail in rt.minfo.sortCtorsImpl:
>
> /* Internal runtime error, dependency on an uninitialized
> * module outside of the current module group.
> */
> (stackidx < modules.length) || assert(0);
>
> would that be the problem you were referring to above?
Might be. It was a while since I last tried to build shared libraries
with D. It was before the minfo module was created.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list