Advertisement
metalx1000

notes on C compiling for Android

Nov 3rd, 2014
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. arm-linux-gnueabi-gcc-4.4 -static main.c -o mytest
  2.  
  3. adb push main /system/bin/mytest
  4. adb shell
  5. cd /system/bin
  6. chmod 7 mytest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement