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
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
相关文章推荐
- how to compile and link static/dynamic library in linux
- C++ compile Microsoft Visual C++ Static and Dynamic Libraries
- linux static and dynamic library
- use cmake to compile static library and test
- Build Static and Dynamic Libary in Linux
- Android NDK about Library (static library , share library and 3rd party library)
- dynamic_cast, reinterpret_cast, static_cast and const_cast 学习
- Creating and Using a Dynamic Link Library (C++)
- Linux learning jottings(2)-static or dynamic library
- VS2010使用介绍创建可重用代码(一)---Creating and Using a Dynamic Link Library (C++)
- static_cast AND dynamic_cast
- static, const, reference and class object, as datamembers
- When should static_cast, dynamic_cast and reinterpret_cast be used?
- c++ about SLL(Static-Link Library) and DLL(Dynamic-Link Library)
- cross compile the libusb and examples
- compile/link prebuilt nonstatic java library failed?
- 【转载】When should static_cast, dynamic_cast and reinterpret_cast be used?
- MinGW Static and Dynamic Libraries
- Build fat static library (device + simulator) using Xcode and SDK 4+
- 使用vs2010创建可重用代码(二)Creating and Using a Static Library (C++)