Cross-compiling for the N800

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux