How do I make/use my own run-time library?

Don nospam at nospam.com
Tue Dec 28 13:13:13 PST 2010


%u wrote:
> Hi,
> 
> I've been trying to make my own run-time library for D, but I've come across a
> dead end: *any* library I make will inherently depend on SNN.lib, and there
> are no headers for that C run-time library.
> 
> How can I write my own library in place of SNN.lib if I do not know what the
> function specifications are? (My entire goal here is to write my own
> counterpart of SNN.lib, so I can't really avoid the issue.)
> 
> Thank you!

AFAIK druntime contains signatures for everything which is used from 
snn.lib. If you just make a .lib file from a blank file, and rename it 
to snn.lib, you'll get linker errors for everything which is used from 
it.  You can then search for their signatures in druntime.


More information about the Digitalmars-d mailing list