I haven't been able to find much documentation on building the Darwin operating system from scratch, although it's relatively easy to find guides on compiling Darwin's kernel.
Being familiar with Unix would definitely help, and you'll definitely need Unix (either an existing OS X/Darwin system, or some other *nix) in order to compile your base system. Do lots of research beforehand; something like Linux From Scratch will definitely aid your understanding of how Unix systems are built.
Finally, Apple does offer a ready-made build of Darwin 8.0 (sadly, they only provide source code for the later versions), so if you just want to experience using Darwin without the hassle of compiling it, then try downloading Apple's build first.
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
>Both the guides need..........err........Apple XCode
Both guides say you should install Xcode (Apple Developer Tools) because it includes the Unix development tools (gcc, etc.).
You should be able to cross-compile the kernel and the base system from Linux using normal development tools, although it'd probably be easier to accomplish this from an existing Darwin system.
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
Thanks for the quick reply,
Please tell me how to do so...........I couldn't understand............
Thanks again!
Follow the guides for compiling Xnu that I linked to previously. Where the twist comes in is the fact that you'll be needing to cross-compile everything (at least, until you get to the point where you have a bootable system). If you're not familiar with this, or you'd like to take an easier route, I'd highly recommend downloading and installing the pre-compiled Darwin 8.0 from Apple's site, then compile a new version of Darwin from that system.
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339