943,844 Members | Top Members by Rank

Ad:
  • Mac OS X Discussion Thread
  • Unsolved
  • Views: 6086
  • Mac OS X RSS
Sep 30th, 2008
0

Compiling Darwin - From Scratch!

Expand Post »
Hi, all...actually this is my first post........

I don't have an Apple Mac OSX.......anyways as for the Mac OSX kernel, i.e., Darwin its opensource....how can I install it on my machine....like how could I compile it!!

Thanks in advance,
Waiting for a reply soon!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
debu.sagii is offline Offline
5 posts
since Mar 2007
Sep 30th, 2008
1

Re: Compiling Darwin - From Scratch!

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.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Oct 1st, 2008
0

Re: Compiling Darwin - From Scratch!

Hi,

Thanks for the reply........

Both the guides need..........err........Apple XCode and I think that Apple XCode can only be installed on Apple Mac OSX right!

I don't have an Apple Mac OSX.......

Thanks for the reply again.......waiting for a reply soon!

Bye
Reputation Points: 10
Solved Threads: 0
Newbie Poster
debu.sagii is offline Offline
5 posts
since Mar 2007
Oct 1st, 2008
0

Re: Compiling Darwin - From Scratch!

Probably I would like to compile it on a Linux machine........Ubuntu or OpenSuSE or Mandriva or Unix System (like PC BSD, Open BSD etc.) maybe.........I wanna know that if it is possible!

Bye again!
Last edited by debu.sagii; Oct 1st, 2008 at 4:13 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
debu.sagii is offline Offline
5 posts
since Mar 2007
Oct 1st, 2008
1

Re: Compiling Darwin - From Scratch!

>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.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Oct 5th, 2008
0

Re: Compiling Darwin - From Scratch!

Click to Expand / Collapse  Quote originally posted by John A ...
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.
Thanks for the quick reply,
Please tell me how to do so...........I couldn't understand............
Thanks again!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
debu.sagii is offline Offline
5 posts
since Mar 2007
Oct 5th, 2008
1

Re: Compiling Darwin - From Scratch!

Click to Expand / Collapse  Quote originally posted by debu.sagii ...
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.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Feb 14th, 2011
0
Re: Compiling Darwin - From Scratch!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
paulgazz is offline Offline
1 posts
since Feb 2011

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Mac OS X Forum Timeline: Fanboys strangely silent about secret Mac OS X security update
Next Thread in Mac OS X Forum Timeline: Trash





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC