Date: Fri, 17 Dec 1999 08:10:54 +1100 From: Peter Jeremy <peter.jeremy@alcatel.com.au> To: freebsd-current@FreeBSD.ORG Subject: Re: sysinstall: is it really at the end of its lifecycle? Message-ID: <99Dec17.080227est.40335@border.alcanet.com.au> In-Reply-To: <XFMail.991216085535.steve@pooh.elsevier.nl>; from steve@pooh.elsevier.nl on Thu, Dec 16, 1999 at 07:55:35PM %2B1100 References: <199912151624.RAA01525@dorifer.heim3.tu-clausthal.de> <XFMail.991216085535.steve@pooh.elsevier.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1999-Dec-16 19:55:35 +1100, Steve O'Hara-Smith <steve@pooh.elsevier.nl> wrote: >On 15-Dec-99 Oliver Fromme wrote: >> Alexander Langer wrote in list.freebsd-current: >> > gunzip has approx 106 kb, but you save about 50% per executeable. >> >> -r-xr-xr-x 1 root wheel 4648 Jan 28 1999 /usr/bin/minigzip > > It requires the 50Kb libz.so.2 though and some of libc. % cc -static -O -o minigzip minigzip.c -lz % size minigzip text data bss dec hex filename 75299 8524 2004 85827 14f43 minigzip % ls -l minigzip -rwxr-xr-x 1 jeremyp inplat 96509 Dec 17 08:08 minigzip % Or, ignoring the libc code (which is indicative of the effect of building it into a crunched executable): % cc -O -o minigzip minigzip.c /usr/lib/libz.a % ls -l minigzip -rwxr-xr-x 1 jeremyp inplat 48523 Dec 17 08:08 minigzip % size minigzip text data bss dec hex filename 37756 4848 272 42876 a77c minigzip % Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Dec17.080227est.40335>