I am executing the below steps using imx7 warp7 board:
i have ported "core-image-machinetest" image into it and trying to cross compile a simple helloworld.c program into it.
i have installed arm-poky-linux-gnueabi-gcc from meta-toolchain and it is installed in /opt/poky/1.xx
i have created helloworld.c
int main (int argc, char **argv)
printf("Hello world !\n");
and compiled using
$ arm-poky-linux-gnueabi-gcc -o helloworld helloworld.c
i was able to create executable file and tested the type also
$ file hello-world
hello-world: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
but when executing on the target it is giving the below error
-sh: ./helloworld: No such file or directory
have anybody faced similar issues.
is there any steps i have missed out or is there any procedure to be followed either in standalone or while yocto development package compile.