AnsweredAssumed Answered

[iMX6SLEVK] Executable generated using arm-poky-linux-gnueabi toolchain is giving -sh: ./testApp: No such file or directory

Question asked by Sunny Bhayani on Aug 20, 2015
Latest reply on Aug 31, 2015 by Biyong Sun

Hi,

 

I am using the arm-poky-linux-gnueabi toolchain to cross-compile a application.

 

I am able to cross-compile the application. But when I run the generated executable, i.e.

 

     ./testApp

 

I get the below error:

 

     -sh: ./testApp: No such file or directory

 

I tried to search reason for this but I am not able to find one.

 

I had such issue with one of my other demoApp whose executable was getting generated as demoApp.bin.

I was getting the same error mentioned above.


But then, I just generated the executable as demoApp.out and it worked.

 

I tried to even do the same for the above, but I get the same error i.e. No such file or directory

 

Please do let me know if I am missing anything.

 

Thanks,
Sunny

Outcomes