Re: Building the 10.6.4 Kernel
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Sep 10, 2010, at 3:03 PM, Alexander von Below wrote:
Hello List,
Search seems broken for the archive, so I am sorry if this is a FAQ...
I am trying to build a Darwin Kernel (using the 10.6.4 source), and I am using this page as a guide:
http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/Kern...
My first problems are:
* Libstreams does no longer seem to be part of 10.6.4. Is it no longer needed?
* Compiling cctools fails:
../lto.c:8:24: error: llvm-c/lto.h: No such file or directory (and many more)
Is there any place where I can find more hints on building my own?
10.6.4 is supposed to be compiled with gcc, not with llvm. You are using the wrong compiler because you have installed a newer XCode, and haven't specified gcc-4.2 should be used. I can't say about libstreams off the top of my head, but none of my kernels have ever linked against anything outside of xnu or the parts that came with the tar ball you use to get the Makefile working. -- Terry _______________________________________________ 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)
-
Terry Lambert