Compiling Darwin - From Scratch!

Reply

Join Date: Mar 2007
Posts: 5
Reputation: debu.sagii is an unknown quantity at this point 
Solved Threads: 0
debu.sagii debu.sagii is offline Offline
Newbie Poster

Compiling Darwin - From Scratch!

 
0
  #1
Sep 30th, 2008
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!
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: Compiling Darwin - From Scratch!

 
0
  #2
Sep 30th, 2008
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.
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 5
Reputation: debu.sagii is an unknown quantity at this point 
Solved Threads: 0
debu.sagii debu.sagii is offline Offline
Newbie Poster

Re: Compiling Darwin - From Scratch!

 
0
  #3
Oct 1st, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 5
Reputation: debu.sagii is an unknown quantity at this point 
Solved Threads: 0
debu.sagii debu.sagii is offline Offline
Newbie Poster

Re: Compiling Darwin - From Scratch!

 
0
  #4
Oct 1st, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: Compiling Darwin - From Scratch!

 
0
  #5
Oct 1st, 2008
>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.
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 5
Reputation: debu.sagii is an unknown quantity at this point 
Solved Threads: 0
debu.sagii debu.sagii is offline Offline
Newbie Poster

Re: Compiling Darwin - From Scratch!

 
0
  #6
Oct 5th, 2008
Originally Posted by John A View Post
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!
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: Compiling Darwin - From Scratch!

 
0
  #7
Oct 5th, 2008
Originally Posted by debu.sagii View Post
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.
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Darwin, X11 and BSD Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC