Date: Fri, 29 Aug 2003 18:42:15 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: Marc Wiz <marc@wiz.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Necessary code or trash? Message-ID: <20030829064215.GA21268@grimoire.chen.org.nz> In-Reply-To: <20030829025855.GB9624@freshaire.wiz.com> References: <1671561231.20280829005225@mail.ru> <20030828213345.GD80772@christabel.starbreaker.net> <20030828214314.GA37687@agora.rdrop.com> <20030829025855.GB9624@freshaire.wiz.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 28, 2003 at 09:58:55PM -0500, Marc Wiz wrote: > On Thu, Aug 28, 2003 at 02:43:14PM -0700, Alan Batie wrote: > > On Thu, Aug 28, 2003 at 05:33:45PM -0400, Matthew Graybosch wrote: > > > > rm - 410 268 bytes, > > > > mv - 407 568 bytes, > > > > date - 423 748 bytes. > > > > > > As others explained these commands and others are statically linked so that > > > they do not depend on libraries that live in /usr. > > > > Once upon a time, libraries were constructed so that only the modules > > you were actually using got included, even static ones. Or so I was given > > to understand... Since libc is 1.2Meg, there still seems to be a little > > bit of that going on, but sheesh! > > I remember that as well. I'd sure like to know why that changed. The reason why it's so big is because NIS support drags in a *lot* of code. -- Jonathan Chen <jonc@chen.org.nz> ---------------------------------------------------------------------- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030829064215.GA21268>