Re: Building the 10.6.4 Kernel
Re: Building the 10.6.4 Kernel
- Subject: Re: Building the 10.6.4 Kernel
- From: Terry Lambert <email@hidden>
- Date: Fri, 10 Sep 2010 15:30:22 -0700
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/KernelProgramming/build/build.html
>
> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden