bsdjunkie
March 7th, 2003, 21:40
First you need to download the Darwin Development Tools, since these are not part of the OSX Developer Tools package.

http://developer.apple.com/darwin and follow the links for the OSX stuff.

Grab the Darwin Source Code. You must be registered with Apple do grab this.


Run uname -v and figure out what version you are running.

% uname -v
Darwin Kernel Version 6.0: Sat Jul 27 13:18:34 PDT 2002;
root:xnu/xnu-344.obj~1/RELEASE_PPC

Now you need to translate that to an Apple CVS tag. Prefix the version with Apple- to know what one to grab. So in this case, it would look like the following:

Apple-344

use cvs to checkout the code.

http://developer.apple.com/darwin/tools/cvs/

setenv CVSROOT :pserver:username@anoncvs.opensource.apple.com:/cvs/Darwin

replace username with yours.

cvs login

cvs -z3 checkout APPLE_CVS_TAG modulename
so
cvs -z3 checkout -r Apple-344 xnu


%cd xnu
%source SETUP/setup.csh
make

backup your old kernel just in case =)
%sudo cp /mach_kernel /mach_kernel.old

%sudo cp BUILD/obj/RELEASE_PPC/mach_kernel /

reboot and cross your fingers =)

:roll:

soup4you2
July 16th, 2003, 21:10
Wow.... how the hell did i miss this post.... as usual i'm going to ask if you mind if i put this in my informational database.... full credits will be given

bsdjunkie
July 16th, 2003, 21:12
Feel free =)

bsdjunkie
July 16th, 2003, 21:13
Feel free =)

buebo
July 16th, 2003, 22:51
Since you don't Mention anything about customizing the Kernel I assume that this is not possible without too much pain, so why would i want to build an own kernel?

soup4you2
July 17th, 2003, 09:39
Since you don't Mention anything about customizing the Kernel I assume that this is not possible without too much pain, so why would i want to build an own kernel?

For geek points of course..

buebo
July 17th, 2003, 15:25
[quote:8cea2fca1c="buebo"]Since you don't Mention anything about customizing the Kernel I assume that this is not possible without too much pain, so why would i want to build an own kernel?

For geek points of course..[/quote:8cea2fca1c]

How could I forget? ;-)

bsdjunkie
July 17th, 2003, 15:37
Feel free to delve into the code to make changes b4 compiling ;)