Necessary code or trash?
Jonathan Chen
jonc at chen.org.nz
Thu Aug 28 23:42:19 PDT 2003
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 at chen.org.nz>
----------------------------------------------------------------------
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
More information about the freebsd-questions
mailing list