Cross-compiling for the N800

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

 



Jason Edgecombe wrote:
> Peter Flynn wrote:
>> Jason Edgecombe wrote:
>>  
>>> You need a specially compiled gcc that can cross-compile for arm 
>>> along with the c library compiled for arm.
>>>     
>>
>> All installed, but compiling the utility with cc -o foo foo.c bar.c
>> produces a binary which executes perfectly inside the VMware dev img
>> window, but whe uploaded to the N800 says
>>
>> Syntax error: "(" unexpected
>>
>> Is there a -m switch I need to use for the architecture?
>>
>>   
> Did you run the scratchbox icon on the desktop and do the compile in the 
> new terminal that appeared?

No, just opened a shell and typed cc -o foo foo.c bar.c
Which is the scratchbox icon (excuse the ignorance :-)

///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