%general-entities; ]> zlib &zlib-version;
&zlib-url;
Zlib-&zlib-version; Zlib <para>The Zlib package contains compression and decompression routines used by some programs.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&zlib-ch6-sbu;</seg> <seg>&zlib-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Zlib Prepare Zlib for compilation: ./configure --prefix=/tools Compile the package: make To test the results, issue: make check Install the package: make install Installation of Zlib - 32 bit Prepare Zlib for compilation: make distclean && CC="${LFS_TGT}-gcc -m32" ./configure --prefix=/tools --libdir=/tools/lib32 Compile the package: make To test the results, issue: make check Install the package: make DESTDIR=$PWD/DESTDIR_32 install && cp -Rv DESTDIR_32/tools/lib32/* /tools/lib32 Installation of Zlib - x32 bit Repeat for the x32-ABI: make distclean && CC="${LFS_TGT}-gcc -mx32" ./configure --prefix=/tools --libdir=/tools/libx32 make make DESTDIR=$PWD/DESTDIR_x32 install && cp -Rv DESTDIR_x32/tools/libx32/* /tools/libx32