The program;
Code: Select all
#include <stdio.h>
main()
{
printf("hello red pitaya\r\n");
}
After that I compiled it with the latest arm cross compiler I could find - arm-linux-gnueabi-gcc;
Code: Select all
arm-linux-gnueabi-gcc hello_red_pitaya.c -o hello_red_pitaya
Code: Select all
scp hello_red_pitaya root@192.168.1.100:/root
Then I ssh into the red pitaya and try to execute the compiled file;
Code: Select all
./hello_red_pitaya
Code: Select all
sh ./hello_red_pitaya: not found
Thanks!