Hi,
I install gcc (gcc_4.8.3-1_ramips_24kec.ipk) in my device, but I cannot use it to build my C code.
The code is
#include<stdio.h>
int main()
{
printf("test123\n");
return 0;
}
and the error message is:
root@mylinkit:/tmp/run/mountd/mmcblk0p1# gcc test1.c -o test1
test1.c:1:0: internal compiler error: Illegal instruction
#include<stdio.h>
^
mmap: Invalid argument
mmap: Invalid argument
mmap: Invalid argument
mmap: Invalid argument
mmap: Invalid argument
mmap: Invalid argument
I don't know what the problem is here.
I install gcc in the SD card of my device, not the ROM or RAM.
thanks