Cross-compiling for the N800

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

 



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


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

  Powered by Linux