I installed the Eclipse IOtdtk IDE on my host and flashed the Linux image over the SD card . I started with building(cross compiling) the sample program enclosed as attachment . my program is getting built successfully and generated the output file . When i tested that output file over the Target Board , it gives me the error like File not found. My setup details are mentioned below :-
Platform : Galileo Gen 2
Image in SD card : iotdk-galileo-image
Program Name : Hello.c
Ouput file : Hello
Run it like ./Hello
Error : -sh: ./Hello: not found
don't quite get what you try to accomplish.
You can run the program directly via Eclipse on the target.
Otherwise it depends on your "Run As ..." settings where the program resides under which name.
Typically it's on /tmp - i.e. you'd have to call /tmp/<yourprogramname> if you try to run directly on target