Building Darwin
From OSx86
first you need to have a Power PC apple!
I recommend tiger, you must have XCODE installed (you might need x11 ??)
- Setup DarwinBuild
- download darwinbuild and unzip it http://opendarwin.org/projects/darwinbuild/releases/darwinbuild-0.7.2.tar.gz
- open up your terminal and change the directory to where where you downloaded
- if on your desktop #cd desktop/darwinbuild-0.7.2
- now you need to make, and install darwinbuild
# make # sudo -s # make install
- by default it installs into the wrong directory, so you need to add it to your path
# export PATH="$PATH:/usr/local/bin"
- next you will need to create a build enviroment (the dmg will be in the darwinbuild directory)
# hdiutil create -size 4g -type UDIF -fs HFSX -volname Builds \
-uid 0 -gid 0 -attach Builds.dmg
- make the drive writable
# sudo vsdbutil -a /Volumes/Builds
- go to the darwin directory and make a foder for 8.3
# cd /Volumes/Builds # mkdir Build8F46 # cd Build8F46
- now you will create the plist files before you build Darwin
# darwinbuild -init 8F46
- now you will build darwin
# darwinbuild xnu
- If it completed successfully you will have all of darwins files, associated with the kernel, in your Roots directory :) (/Volumes/Builds/Build8F64/Roots/)
Please make a comment if it works well for you, thanks :)
most of this information was taken from
