(As I'm not that familiar with C, I cannot test if it really works.)


1) Create your hello world program:Using c Syntax Highlighting
#include int main(int argc, char** argv) { printf("Hello World - says anddev.orgn"); return 0; }Parsed in 0.001 seconds, using GeSHi 1.0.8.4
2) Compile with an arm cross-compiler toolchain. I used a toolchain I
built with gentoo's crossdev tool, but there are lots out there.
Assuming your c file is hi.c and your cross compiler is called armv6-
vfp-linux-gnueabi-gcc, you can compile using:
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
ABI used yet, so for now, link applications statically.
Regards,
plusminus