[maemo-users] Cross-compiling for the N800
From: Peter Flynn peter at silmaril.ieDate: Tue Apr 1 02:03:05 EEST 2008
- Previous message: Cross-compiling for the N800
- Next message: Cross-compiling for the N800
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Cross-compiling for the N800
- Next message: Cross-compiling for the N800
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]