I am trying to run a c compiled code for a linux based iot devices running busybox, here are the cpu info
cat /proc/cpuinfo
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 217.08
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5
Hardware : hi3518
Revision : 0000
Serial : 0000000000000000
and here is the linux system
Linux (none) 3.0.8 #30 Tue May 27 21:58:10 CST 2014 armv5tejl GNU/Linux
the code I am trying to run is a hello world example in C language and I compile it using the command
arm-linux-gnueabi-gcc -Wall -pedantic -ggdb3 -march=armv5te -mtune=arm926ej-s main.c http.c -Wno-unused-variable -o app
the error i am getting
/dev/shm/app: line 1: syntax error: unexpected word (expecting ")")
I am compiling the code on a 64bit machine then copying the compiled binary using wget because the devices does not have gcc