> > Is there any place where one can find an up-to-date how-to kernel
> > compilation? Lacking documentation is an understatement.
>
> What?  Have you read the documentation provided?  What is wrong with
> it?  The kernel comes with TONS of free documentation, and there are
> free books (look for Linux Kernel in a Nutshell which details how to build
> a kernel, it is free online.)
>
> > I would be
> > particularly interested in compiling the kernel on MAC OS snow
> > leopard... which is not supported according the the wiki, but actually
> > supported...
>
> No, that's not supported at all, sorry.  Use a Linux machine to build
> the kernel, that's the only way.


I believe I just worked through this problem.

1. Follow the instructions in NDK-5 to setup a stand-alone compiler

2. Get a copy of elf.h from Linux and copy it to /usr/include

3. Comment out  #include <features.h> in elf.h

Now follow the normal Linux build procedure of setting ARCH,
CROSS_COMPILE and kernel configuration.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to