A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « ZLib 64-bit | HOME | BZip2 64-bit » |
Name: ZLib 32-bit
Summary: A fast compression library
License: Zlib
Version: 1.3.1
URL: https://www.zlib.net/zlib-1.3.1.tar.xz
Average Build Time: 0.1 SBU
Used Install Space: 6.4 MiB
To configure ZLib 32-bit for installation into the system, run the following command:
make distclean
CFLAGS+=" -m32" CXXFLAGS+=" -m32" \
./configure --prefix=/usr \
--libdir=/usr/lib \
--shared
To compile ZLib 32-bit, run the following command:
make
Now run the tests:
make check
Finally, to install ZLib 32-bit, run the following command:
make DESTDIR=$PWD/DESTDIR install
cp -Rv DESTDIR/usr/lib/* /usr/lib/
rm -fv /usr/lib/libz.a
See the information for the 64-bit version for details about what is installed.
| Navigation | ||
|---|---|---|
| « ZLib 64-bit | HOME | BZip2 64-bit » |