On 04/06/11 16:15, Daniel Gibson wrote:
Am 04.06.2011 17:13, schrieb Ben Grabham:
Hey,
I'm trying to develop a kernel in D2. It works fine if I don't use
classes but as soon as I try to use classes, it complains about the lack
of object.d.
So, I set out on a quest to develop a simple object.d that doesn't need
to import anything to work apart from basic memory functions like
malloc, etc (for now). I'm partially basing it off the one included in
the D runtime. The problem is that I'm trying to find a minimal object.d
that doesn't try to pull in too much. Has this been done before?
Whenever I try to create one that is not the original one, I just make
the compiler generate a segmentation fault.
I've also been trying to find a kernel project that someones started
with classes in D2 but have yet to find one. Does anyone know one?
Thanks,
Nebster
There's a kernel written in D1: http://wiki.xomb.org/
Cheers,
- Daniel
Yes, I've seen xomb, titan, osian and one posted on this newsgroup.
Unfortunately they are all D1 kernels. The problem I'm having is
creating a small object.d for D2 without causing the compiler to seg fault
Thanks for trying to help though!
Nebster