From owner-freebsd-current Wed Oct 30 13: 1:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ECA837B401 for ; Wed, 30 Oct 2002 13:01:39 -0800 (PST) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id C525243E4A for ; Wed, 30 Oct 2002 13:01:38 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0422.cvx21-bradley.dialup.earthlink.net ([209.179.193.167] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 186zy5-00026T-00; Wed, 30 Oct 2002 13:01:37 -0800 Message-ID: <3DC04861.3C5E975B@mindspring.com> Date: Wed, 30 Oct 2002 13:00:17 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Nate Lawson Cc: current@freebsd.org Subject: Re: libc size References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nate Lawson wrote: > Here is a link to the size of various components of libc, sorted by text > size. If you can find some way to reduce or even remove some of this, > please submit a patch. > > http://www.root.org/~nate/freebsd/lib_size.out Move the resolver code out to ibresolv.so, and link libc.so against libresolv.so so that legacy applications are happy, as long as they are compiled shared. Non-network apps can ignore most of it. Internal use of some of the biggest chunks is limited, so this should avoid dragging in a lot of it. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message