OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 6:21 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject: Re: OS in D language
PostPosted: Thu Aug 20, 2009 5:09 pm 
Offline
Member
Member
User avatar

Joined: Tue Aug 26, 2008 10:02 pm
Posts: 44
Location: Land of the Dead
BuRnEr 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.

Sorry for long absence. Hopefully you see this. I idle in #ldc and don't remember you. Say hi next time :)

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.


Top
 Profile  
 
 Post subject: Re: OS in D language
PostPosted: Wed Aug 26, 2009 4:56 pm 
Offline

Joined: Wed Aug 05, 2009 2:40 pm
Posts: 2
Thanks for the answer, I had given up hope :wink:

Your absolutely right most code need is just boring. Not that the XOmb Bare Bone is boring(it's actually great) but most it's code is boring. std/typeinfo is my favorite.
First I was a bit reluctant about a 7k+ line barebone, but it's not the size that matters.

So thanks for the nice example. If anything interesting comes out from it from my side, I'll let you know.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group