Re: Problems building an Intel 10.5.6 kernel
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WSrbFLLaYkCsG1f7k1uY2gJeKIdnmUi8Wg4mdtx+hEM=; b=IUO92dIudI3kO96Z2AyJyjAfGVp5ZDqULjlnhjTpSfZgY0xduUzy1+PnvYMXksiUmk aoiknbQLLynkVhlW6ibLBkpI3CiGxK3THwdDBHpPp/IwXjqKdaLAhVYASl9D1PbtavLu yYlyb/7pznScul6SnGvnbeGZ/f8m9WJpkld4o= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Ao2Bdh2FT4zDjGm6z1e8wcfFZChLvHGoLFUu5UkrXoXYMkVlfiBDg89fGa/xLSVOdZ xpnANczjOCyyYRTHhLKcl9aRaUkPu0HnhP2QCVUypy2y7k3/qtgxXm0BoeOn8AJf/P21 l8Xgu6Nmi9w+qC6dujvDQFaTHoznjIQNF7R5M= take this train, http://darwinbuild.macosforge.org/ On Fri, Jan 30, 2009 at 8:26 AM, C. Clark Piepho <clark@mm.com> wrote:
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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/openspecies%40gmail.com
This email sent to openspecies@gmail.com
-- -mmw _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
mm w