6.14. Gzip-1.3.5

The Gzip package contains programs for compressing and decompressing files.

6.14.1. Installation of Gzip

Setup configure so it can use cross-compiled tools:

cp -v configure{,.orig}
sed -e "s@nm conftest@${CLFS_TARGET}-&@" configure.orig > configure

Prepare Gzip for compilation:

CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
  --build=${CLFS_HOST} --host=${CLFS_TARGET}

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.47.2, “Contents of Gzip.”