Wednesday, February 26, 2014

android developers can run the executable file


tiny6410 development board, the terminal does not perform test print information is not being given.
test.c
int main ()
{
printf ("hello");
return 0;
}

arm-linux-gcc-o test test.c

Downloaded to the development board: adb push D: test /
Modify the permissions 777, executed in a terminal:. / Test returns :/ system / bin / sh:. / Test: not found
What is the reason? Seeking heroes wing<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Should be solved in the compiled executable file in android source code downloaded to the development board can be executed

No comments:

Post a Comment