[maemo-users] Cross-compiling for the N800

From: Jason Edgecombe jason at rampaginggeek.com
Date: Sun Mar 30 04:37:47 EEST 2008
Peter Flynn wrote:
> I have downloaded a small C console utility which I'd like to compile 
> for my N800. It doesn't have any dependencies outside itself. I have gcc 
> on my Ubunty Gutsy system...but it's been a decade or more since I used 
> C in anger and I can't figure out the command to use to cross-compile 
> for the ARM. The obvious one doesn't work:
>
> gcc -marm -o foo foo.c bar.c
>   

You need a specially compiled gcc that can cross-compile for arm along 
with the c library compiled for arm.

The easiest way to do this is to download the maemo development vmware 
image from http://maemovmware.garage.maemo.org/

Sincerely,
Jason

More information about the maemo-users mailing list