wiki:TBR/UserManual/Zlib

Zlib

Zlib is a library that provides a general-purpose, legally unencumbered, that is, not covered by any patents, lossless data-compression library. The compression method, an LZ77 variant called deflation, emits compressed data as a sequence of blocks. You can find more about zlib on the zlib web site:

http://www.zlib.net/

Building Zlib

The package builds the library from the original source code.

# Download and unpack the source code for Zlib # Configure the package # Make just the libz.a library # Install the library

$ wget http://www.zlib.net/zlib-1.2.3.tar.gz $ tar zxf zlib-1.2.3.tar.gz $ cd zlib-1.2.3 $ CC=m68k-rtems-gcc ./configure --prefix=/opt/rtems $ make libz.a $ make install

Last modified on Dec 2, 2005 at 2:23:01 AM Last modified on Dec 2, 2005, 2:23:01 AM