Writing and Compiling Program For OpenWrt
问题 I have a embedded device with MIPS arch working under OpenWRT system type: MediaTek MT7628AN ver:1 eco:2 machine: WRTnode2P processor: 0 cpu model: MIPS 24KEc V5.5 I want to compile compile a small program in C through my computer (ubuntu) #include <stdio.h> int main(void){ printf("HelloWorld"); return 0; } To compile it I use mips-linux-gnu-gcc command mips-linux-gnu-gcc -march=24kec -mabi=32 hello.c -o hello I send hello program to my device and make a chmod 755 chmod 755 hello When I try