Announcing XBB!

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
User avatar
steveklabnik
Member
Member
Posts: 72
Joined: Wed Jan 28, 2009 4:30 pm

Announcing XBB!

Post by steveklabnik »

Hey guys. A while ago we were all talking about releasing a bare bones D OS, similar to the Bare Bones article on the wiki. Today, wilkie and I threw it together. We took the code for XOmB, removed all of the exokernel stuff, heavily commented everything and how it works, re-did our entire directory structure, fixed our build process, and basically just did a whole lot of house cleaning.

Check it out, and give us some feedback:
One small caveat: Apparently during the cleanup of our wiki, the D cross compiler section got mangled, and the one on the osdev wiki isn't really..complete? Expect to see the cross compiler stuff come fairly soon, but as of right now, it's by far the weakest part of our project. This is largely due to the whole GDC/LDC thing... LDC is still lacking a feature or two we need to compile the kernel, and so we're stuck with dead GDC for now. We're working closely with the LDC guys to get things taken care of, but these things take time...


EDIT: Oh yeah, we're number one on proggit right now. I mentioned osdev, so expect to see some hits coming your way ;)
User avatar
steveklabnik
Member
Member
Posts: 72
Joined: Wed Jan 28, 2009 4:30 pm

Re: Announcing XBB!

Post by steveklabnik »

Some XBB news!

First of all, XBB has no GDC dependencies at all. That's right, if you're running on 64 bit linux and you install LDC, you can compile XBB straight away, no cross compiler needed!

Secondly, we've added some English explanations to the already heavy amount of comments in the source itself. Complete with references, I give you XBB From Start to Finish. This is only the first draft, written over the last few hours, so please forgive any minor spelling or grammatical errors. However, this fully explains the entire process, from boot loader to kmain.

Enjoy!
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: Announcing XBB!

Post by AndrewAPrice »

Thank you! I'm past this stage and learnt myself (I referenced XOmB quite a bit), but this is a useful resource for others who have seen the light. And those who are prideful and refuse to bow down shall be laid low and made unto dust.
My OS is Perception.
Fusion
Posts: 3
Joined: Fri Apr 11, 2008 4:12 pm

Re: Announcing XBB!

Post by Fusion »

Would it at all be possible to get a 32bit D barebones going?
User avatar
steveklabnik
Member
Member
Posts: 72
Joined: Wed Jan 28, 2009 4:30 pm

Re: Announcing XBB!

Post by steveklabnik »

Fusion wrote:Would it at all be possible to get a 32bit D barebones going?
For everyone who doesn't look at our wiki, yes, we can and we will, sometime in the future.
User avatar
Wilkie
Member
Member
Posts: 44
Joined: Tue Aug 26, 2008 10:02 pm
Location: Land of the Dead
Contact:

Re: Announcing XBB!

Post by Wilkie »

Yes, should be fairly simple to do. If I wasn't as busy, I'd just bump that out in a night... I've been planning to. Also, I have some bug fixes to deploy (merge back from XOmB proper) and I think I can do that within the month.

Thanks for the interest.
Fusion
Posts: 3
Joined: Fri Apr 11, 2008 4:12 pm

Re: Announcing XBB!

Post by Fusion »

steveklabnik wrote:
Fusion wrote:Would it at all be possible to get a 32bit D barebones going?
For everyone who doesn't look at our wiki, yes, we can and we will, sometime in the future.
Just an FYI that was me on the talk page :P
User avatar
steveklabnik
Member
Member
Posts: 72
Joined: Wed Jan 28, 2009 4:30 pm

Re: Announcing XBB!

Post by steveklabnik »

Fusion wrote:Just an FYI that was me on the talk page :P
I figured, which is why I also responded here. :D

wilkie is working on it right now, actually. Expect to see something soon.
User avatar
Wilkie
Member
Member
Posts: 44
Joined: Tue Aug 26, 2008 10:02 pm
Location: Land of the Dead
Contact:

Re: Announcing XBB!

Post by Wilkie »

Yeah, I am.

Trying to write shell scripts to configure the target... I hate shell scripts... I hate them so much.

Should be good to go and a good barebones that is extensible per target architecture (but no true code is written to power any of the targets of the barebones) in a week maybe.

Of course, since it is a public repo, if anybody would like to attempt writing something for an architecture outside of x86 (32bit and 64bit) with LDC or GDC (D language) then they can fork it.
User avatar
Zenith
Member
Member
Posts: 224
Joined: Tue Apr 10, 2007 4:42 pm

Re: Announcing XBB!

Post by Zenith »

Sorry for resurrecting this thread a bit, but I appreciate the existence of XBB and how it's a nice gesture from the XOmB devs. =D>

I was just wondering if it was possible to cross-compile LDC properly for it to run on Windows or 32-bit Linux while targeting 64-bit computers? My primary dev machine runs 32-bit Windows on a x86-64 dual-core, and it would be nice if I could cross-compile LDC to target that platform without having to install 64-bit Linux just to develop a D language OS (without using GDC).

Thanks! :)
"Sufficiently advanced stupidity is indistinguishable from malice."
User avatar
steveklabnik
Member
Member
Posts: 72
Joined: Wed Jan 28, 2009 4:30 pm

Re: Announcing XBB!

Post by steveklabnik »

The last time that I talked to the LDC devs, a cross compiler did not exist. That may have changed, however, I couldn't find any information out about it.

You can still use gdc to build XBB; we just have a love affair with LDC.
User avatar
steveklabnik
Member
Member
Posts: 72
Joined: Wed Jan 28, 2009 4:30 pm

Re: Announcing XBB!

Post by steveklabnik »

UPDATE: I just asked one of the LDC devs, and you can use the '-m64' or '-m32' switch to compile to a different architecture.
User avatar
Wilkie
Member
Member
Posts: 44
Joined: Tue Aug 26, 2008 10:02 pm
Location: Land of the Dead
Contact:

Re: Announcing XBB!

Post by Wilkie »

I know I said a month for the 32-bit bare bones... School took much of my time, but I did manage to fulfill that request.

A fully D compatible 32-bit build configuration has been added to the bare-bones. It can be built right alongside a 64-bit configuration without needing a cross compiler or any other change to the build environment. If anybody has an interest in it, they can check out the source in the first post and further discussion on working with the source in irc.freenode.net #xomb.
Post Reply