您的位置:首页 > 其它

Cross Compile zlib as static and dynamic library

2009-09-12 10:17 381 查看
dynamic zlib library



1. download zlib source code from the following website for new version of it.

http://www.zlib.net/

2. uncompress it (tar -zxvf zlib-x.x.x.tgz)

3. configure it

./configure -s

4. modify the "Makefile" using the cross toolchain to replace the relative tools (e.g: gcc, ar, ranlib, tar).

5. make.





static library



1. take the same 1,2 steps as up method.

2. won't use "./configure -s"

3. modify the "Makefile"

4. make
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: