Sorry for long absence. Hopefully you see this. I idle in #ldc and don't remember you. Say hi next timeBuRnEr wrote:I have been trying to get the D Barebone from the wiki to run, using the ldc compiler.
Linking failed, due to the fact that ldc always imports object.d at compile-time even with -nodefaultlib -noruntime.
You will need an object.d. You will even need a stubbed runtime to link against. For XOmB and the XOmB D Barebones (not the same as the OSDev D barebones which is just a port of the C one) we have created object.d to be internally congruent with Tango runtime's object.d. The compiler seems to expect an Object class of a particular size.
Our XOmB Barebones is public domain, so you can start looking through there. It would be a pain to do all of that stub work yourself...you learn next to nothing...which is why the barebones exists.
http://xomb.net/index.php?title=XOmB_Bare_Bones
Hop into #xomb on freenode if you'd like to discuss our barebones.