Problems building an Intel 10.5.6 kernel
Problems building an Intel 10.5.6 kernel
- Subject: Problems building an Intel 10.5.6 kernel
- From: "C. Clark Piepho" <email@hidden>
- Date: Fri, 30 Jan 2009 10:26:24 -0600
The is the first time I have tried to build an Darwin kernel. My
previous
experience is in FreeBSD kernels.
I am trying to build an Intel version of the 10.5.6 kernel following
instructions
from chapter 19 of the "Kernel Programming Guide" dated 11/07/2006,
the section
titled "Building Your First Kernel".
The platform I am doing the build on is a Mac OS X Server, Version
10.5.6. I have
installed Xcode, Version 3.1.2 on it adding support for Mac OS X
10.3.9 to get the
GCC 3.3 compilier.
I downloaded source code from http://www.opensource.apple.com/darwinsource/10.5.6/
xnu-1228.9.59
bootstrap_cmds-60.1
Libstreams-25
kext_tools-117.4
IOKitUser-388.50
cctools-667.3
The documentation indicates I am supposed to use 'gcc_select' command
to switch
compiliers. The 'gcc_select' command does not exist on in my copy of
Developer
Tools. There are copies of 'gcc_select at
http://www.opensource.apple.com/darwinsource/projects/other
Building 'bootstrap_cmds' fails with a File Not Found error. The
Makefile
contains the line:
include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
which does not exist on my system. The contents of my ../CoreOS/
ReleaseControl
is:
./BSD.make
./Common.make
./GNUSource.make
./README
./texi2html
./mtree
./mtree/BSD.include.dist
./mtree/BSD.local.dist
./mtree/BSD.release.dist
./mtree/BSD.root.dist
./mtree/BSD.usr.dist
./mtree/BSD.var.dist
./mtree/BSD.x11.dist
./mtree/Darwin.root.dist
./mtree/Darwin.usr.dist
./mtree/Darwin.var.dist
./mtree/README
My questions are:
1) Am I using the wrong documentation for the build instructions? If
so,
where can I find documention for 10.5.6 builds.
2) Is the gcc 3.3 still required to build a 10.5.6 Intel kernel? If
so, should
I grab gcc_select-58 from http://www.opensource.apple.com.
3) Assuming the build instructions are correct, where can I find a copy
of BSDCommon.make?
- Clark Piepho
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden