From: "Aghi Holl" <aghionandro...@gmail.com>
Date: Tue, 13 Nov 2007 14:18:15 -0400
Local: Tues, Nov 13 2007 1:18 pm
Subject: Re: Native C "Hello World" working in emulator
Hi Tom,
That seems nice, can you list the first steps, since running the Thanks. On Nov 13, 2007 1:31 PM, TomCooksey <TomCook...@googlemail.com> wrote: > I've managed to get a native C application working in the emulator. > For those who are interested, here's how: > 1) Create your hello world program: > #include <stdio.h> > int main(int argc, char** argv) { > 2) Compile with an arm cross-compiler toolchain. I used a toolchain I > armv6-vfp-linux-gnueabi-gcc hi.c -o hi -static > Note the -static. I've not figured out the version of libc etc or the > 3) Copy to a running emulator: > 4) Run it! From the emulator console: > 5) Smile as you see "hello world" printed on the console. :-) > Next, I'm going to try and get busybox up & running so we can have You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||