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

2011-01-04 Thread %u
Hi, I've gotten rather far with making my own run-time library, and I've gotten pretty far. The only problem now seems to be this first line in lifetime.d: extern (C) void[] _d_arrayappendT(TypeInfo ti, Array *px, byte[] y) { size_t offset = px.data - __arrayStart(info); //... } For som

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

2010-12-28 Thread Don
%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 funct

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

2010-12-26 Thread %u
Thank you for the response! Unfortunately, though, that only gives me the name of the C functions, not the actual headers. I need to know the parameters and return type of each function in order to be able to replace the library.

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

2010-12-26 Thread Simen kjaeraas
%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

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

2010-12-26 Thread %u
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 specific