Index: chapter08/zlib.xml
===================================================================
--- chapter08/zlib.xml (revision c5228730572c64370a649443a703882a4d20462a)
+++ chapter08/zlib.xml (revision 4d7d2c047f42af33082f797df4ce42f26b122183)
@@ -64,4 +64,60 @@
+
+
+
+
+
+ Installation of Zlib - 32bit
+
+ Clean previous build:
+
+make distclean
+
+ Prepare Zlib for compilation:
+
+CC="gcc -m32" \
+./configure --prefix=/usr \
+ --libdir=/usr/lib32
+
+ Compile the package:
+
+make
+
+ Install the package:
+
+make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/lib32/* /usr/lib32
+rm -rf DESTDIR
+
+
+
+
+
+
+
+
+ Installation of Zlib - x32bit
+
+make distclean
+
+ Prepare Zlib for compilation:
+
+CC="gcc -mx32" \
+./configure --prefix=/usr \
+ --libdir=/usr/libx32
+
+ Compile the package:
+
+make
+
+ Install the package:
+
+make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/libx32/* /usr/libx32
+rm -rf DESTDIR
+
+
+
Contents of Zlib