- Timestamp:
-
12/02/05 02:21:55 (19 years ago)
- Author:
-
ChrisJohns
- Comment:
-
Add a zlib page.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v1
|
|
| 1 | = Zlib = |
| 2 | |
| 3 | = Zlib = |
| 4 | |
| 5 | |
| 6 | 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: |
| 7 | |
| 8 | http://www.zlib.net/ |
| 9 | = Building Zlib = |
| 10 | |
| 11 | |
| 12 | The package builds the library from the original source code. |
| 13 | |
| 14 | # Download and unpack the source code for Zlib |
| 15 | # Configure the package |
| 16 | # Make just the libz.a library |
| 17 | # Install the library |
| 18 | |
| 19 | $ wget http://www.zlib.net/zlib-1.2.3.tar.gz |
| 20 | $ tar zxf zlib-1.2.3.tar.gz |
| 21 | $ cd zlib-1.2.3 |
| 22 | $ CC=m68k-rtems-gcc ./configure --prefix=/opt/rtems |
| 23 | $ make libz.a |
| 24 | $ make install |