Jack Sun

How to get an application run on EVK

Discussion created by Jack Sun on Mar 15, 2012
Latest reply on Mar 16, 2012 by Jay William Stubblefield

Hi, ALL

I compiled a hello world program in Virtual Machine Ubuntu 10.

But It can't be run on EVK. 

My project requires that an application should be compiled in Virtual Machine Ubuntu 10

and the application is run on EVK.

What should I do?

*************************** 
//test.c 
#include 


int main(int argc, char *argv[]) 

    printf("Hello World\n"); 


arm-linux-gcc -o test test.c   // I also tried [gcc -o test test.c] 
***************************

 

Then I logged in the EVK, doing the follows 
*************************** 
root@freescale /tmp/test$ ftpget -u s -p s 10.0.0.51 test test 
*************************** 

 

 

ran test 
*************************** 
root@freescale /tmp/test$ chmod 777 test 
root@freescale /tmp/test$ ./test 
-sh: ./test: not found 
***************************

Outcomes