creating static/dynamic lib (_minit remains unresolved)
sclytrack
sclytrack at pi.be
Wed Jan 17 13:02:36 PST 2007
minit is a bit of asm code,
I've seen it somewhere in a source file which I don't recall anymore
but it said that for linux the minit was included in the _moduleCtor()
found it: moduleinit.d
// Win32: this gets initialized by minit.asm
// linux: this gets initialized in _moduleCtor()
extern (c) void _moduleCtor()
{
version (linux)
{
//special linux module initialization code.
}
//rest of code
}
Good luck with your shared library! :-)
More information about the D.gnu
mailing list