[maemo-users] Cross-compiling for the N800

From: Peter Flynn peter at silmaril.ie
Date: Sun Mar 30 02:08:52 EET 2008
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

(complains unrecognized command line option "-m", despite -m being 
described prominently in the gcc man page :-)

Does anyone have a working incantation?

///Peter

More information about the maemo-users mailing list