linux 程序移植到Android

用动态链接的方法:

arm-linux-gcc hello.c -o hello.out -Wl,-dynamic-linker=/system/lib/ld-linux.so.3

并且拷贝文件到安卓系统目录下/system/lib/ld-linux.so.3

 -static 静态链接

原文地址:https://www.cnblogs.com/ahuo/p/4112346.html