Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 1997 21:46:47 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG, msmith@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/minigzip - Imported sources
Message-ID:  <199712131046.VAA30601@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Log Message:
>  This framework builds the 'minigzip' sample program supplied with
>  libz.  It is a non-GPL-polluted minimal implementation of the 'gzip'
>  command, yielding a 12k executable (vs ~100k for gzip).

That's because it is linked shared.  When both are linked static under
2.2.5, gzip is 88K (for the installed file size) and minigzip is 72K.
When both are linked shared, gzip is 52K and minigzip is 12K.  I
guess minigzip is only worth putting in crunched binaries if you've
already bloated them by using libz.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712131046.VAA30601>