用动态链接的方法:

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

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

 -static 静态链接