On Fri, 7 Mar 2003 00:22:59 +0200 "Nadav Har'El" <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 06, 2003, Eli Billauer wrote about "[Haifux] Huge file with static > linking": > > Any suggestions of how to shrink this down to some normal size? > What happens has a simple name: bloat. Yes, but that's what we have dietlibc for. Look: [EMAIL PROTECTED] ~/tmp]$ gcc -o t t.c [EMAIL PROTECTED] ~/tmp]$ ls -l t -rwxr-xr-x 1 oron users 11348 Mar 7 09:01 [EMAIL PROTECTED] ~/tmp]$ diet gcc -o t t.c [EMAIL PROTECTED] ~/tmp]$ ls -l t -rwxr-xr-x 1 oron users 1728 Mar 7 09:02 So most of the bloat is in glibc (it has to support a lot of optional code [e.g: nsswitch, resolving etc.]) ---------------------------------------------------------------- Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron Problems cannot be solved at the same level of awareness that created them. -- A. Einstein -------------------------------------------------------------------------- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]