用动态链接的方法:
arm-linux-gcc hello.c -o hello.out -Wl,-dynamic-linker=/system/lib/ld-linux.so.3
并且拷贝文件到安卓系统目录下/system/lib/ld-linux.so.3
-static 静态链接
用动态链接的方法:
arm-linux-gcc hello.c -o hello.out -Wl,-dynamic-linker=/system/lib/ld-linux.so.3
并且拷贝文件到安卓系统目录下/system/lib/ld-linux.so.3
-static 静态链接
上一篇:linux 编译win32程序
在我们的日常生活中,手机扮演着一个很重要的角色。随着使用时间的增长,手机的性能渐渐的就跟不上软件更新的速度了,我们往往会选择更换一部新的手机,那么原来的旧手机往往就会被遗弃在抽屉中吃灰。 作为一名垃圾佬,我应该做点什么了。众所周知,Linux天生不是Android,但是,安卓天生就是Lin
1.我们首先下载2个工具, 一是 Java JDK 可以从这下载 JavaJDK官网
1. 编译Android模拟器在Ubuntu下,我们可以在源码里编译出自己的模拟器及SDK等编译工具,当然这个和在windows里下载的看起来没有什么区别。编译Android模拟器的步骤和编译Android系统很相似:Ø build/envsetup.shØ lunch sdk-engØ make sdk在每次执行make的时候,编译系统
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M