From owner-freebsd-current Tue Nov 5 3:59:36 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 0D3D837B401 for ; Tue, 5 Nov 2002 03:59:35 -0800 (PST) Received: from outside.albsmeier.net (outside.albsmeier.net [212.125.105.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3FE143E3B for ; Tue, 5 Nov 2002 03:59:33 -0800 (PST) (envelope-from andre@albsmeier.net) Received: from outside.albsmeier.net (uucp@localhost [127.0.0.1]) by outside.albsmeier.net (8.12.6/8.12.6) with ESMTP id gA5Bx8xn006998; Tue, 5 Nov 2002 12:59:09 +0100 (CET) (envelope-from andre@albsmeier.net) Received: from schlappy.albsmeier.net (uucp@localhost) by outside.albsmeier.net (8.12.6/8.12.6/Submit) with ESMTP id gA5Bx55G006997; Tue, 5 Nov 2002 12:59:07 +0100 (CET) (envelope-from andre@albsmeier.net) Received: from schlappy.albsmeier.net (schlappy.albsmeier.net [127.0.0.1]) by schlappy.albsmeier.net (8.12.6/8.12.6) with ESMTP id gA4E5Xcc000404; Mon, 4 Nov 2002 15:05:33 +0100 (CET) (envelope-from andre@schlappy.albsmeier.net) Received: (from andre@localhost) by schlappy.albsmeier.net (8.12.6/8.12.6/Submit) id gA4E5Xt2000403; Mon, 4 Nov 2002 15:05:33 +0100 (CET) (envelope-from andre) Date: Mon, 4 Nov 2002 15:05:33 +0100 From: Andre Albsmeier To: Tim Kientzle Cc: current@FreeBSD.ORG Subject: Re: libc size Message-ID: <20021104150533.A354@schlappy.albsmeier.net> References: <3DC17C7F.9020308@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DC17C7F.9020308@acm.org>; from kientzle@acm.org on Thu, Oct 31, 2002 at 10:54:55AM -0800 X-Echelon: AWACS, F-15, UHF, MD4, Blowfish 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 On Thu, 31-Oct-2002 at 10:54:55 -0800, Tim Kientzle wrote: > I agree with David Schultz that dynamically linking > /bin and /sbin is playing with fire. I, too, have had > ugly experiences on systems that did this: > When /usr won't mount, it is not pleasant to be > stuck with no tools. (Consider a network environment > where /usr is NFS-mounted as an extreme example.) > > As for the disk space concerns, I spent a couple of > > hours with some of the smaller utilities. Identical > functionality to the originals, still statically linked. > Compare with 'ls -l /bin' on your system: > * echo: 3k > * sleep: 3k > * sync: 3k > * cat: 40k with setlocale, 12k without > (cat uses setlocale for non-standard -v option) This is something that comes up in my mind every now and then: I would like to compile the whole base system (maybe even the ports) without the whole setlocale stuff. Do you have any ideas of how to do this easily? We have so many NO_* knobs in make.conf but the NO_LOCALE one I am really missing. Well, for the ports it is not so difficult: I have added a CONFIGURE_ARGS+=--disable-nls line to Mk/bsd.port.mk for years now and it works in most cases. Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message