From owner-cvs-usrbin Sat Dec 13 02:51:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA13263 for cvs-usrbin-outgoing; Sat, 13 Dec 1997 02:51:42 -0800 (PST) (envelope-from owner-cvs-usrbin) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA13245; Sat, 13 Dec 1997 02:51:32 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id VAA30601; Sat, 13 Dec 1997 21:46:47 +1100 Date: Sat, 13 Dec 1997 21:46:47 +1100 From: Bruce Evans Message-Id: <199712131046.VAA30601@godzilla.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 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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