Installation of Gzip Prepare Gzip to be compiled: ./configure --prefix=$LFS/static Continue with compiling the package: make LDFLAGS="-static" And finish off installing the package: make install