Thank for all the pointers, I gave up on MacOS compilation for now, I'm
sure it can be done, but I'm not willing to spend the time right now, I'll
just use a VM.

I guess I did not phrase the question well though: what I wanted to ask is
how to compile a kernel for the simulator?
I found this
http://linuxclues.blogspot.com/2010/05/build-compile-linux-kernel-android.h
tml

So I guess the answer to my question would be: the latest kernel that runs
on the simulator is the goldfish kernel 2.6.29, which is more than 1 year
old (almost two actually). Is that correct?

Thanks again,
Virgil

On 1/24/11 5:07 AM, "Steve Modica" <[email protected]> wrote:

>This page has a better elf solution.  I'm using it.
>We build the kernel on Mac OS.
>
>Steve
>
>http://plattanimattan.blogspot.com/2010/04/cross-compiling-linux-on-mac-os
>x.html
>
>
>On Jan 24, 2011, at 12:50 AM, A Curtis wrote:
>
>>>> 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: [email protected]
>> website: http://groups.google.com/group/android-kernel
>> 
>
>--
>Steve Modica
>CTO -  Small Tree Communications
>www.small-tree.com
>phone: 651-209-6509 ext 301
>mobile: 651-261-3201
>
>
>
>
>
>
>-- 
>unsubscribe: [email protected]
>website: http://groups.google.com/group/android-kernel


-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to