From owner-freebsd-current Wed Oct 30 23:56:22 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 1A4E937B401 for ; Wed, 30 Oct 2002 23:56:21 -0800 (PST) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id C000343E6E for ; Wed, 30 Oct 2002 23:56:20 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0172.cvx21-bradley.dialup.earthlink.net ([209.179.192.172] helo=mindspring.com) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 187ABX-0007dS-00; Wed, 30 Oct 2002 23:56:11 -0800 Message-ID: <3DC0E1C4.2C20D263@mindspring.com> Date: Wed, 30 Oct 2002 23:54:44 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Schultz Cc: Doug Rabson , Peter Wemm , Nate Lawson , current@FreeBSD.ORG Subject: Re: libc size References: <20021030214158.CB6EA2A88D@canning.wemm.org> <20021030221417.J22480-100000@herring.nlsystems.com> <20021031053202.GA26280@HAL9000.homeunix.com> <3DC0D9C9.CC889413@mindspring.com> <20021031074236.GA27185@HAL9000.homeunix.com> 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 David Schultz wrote: > At least in the case of the base system, it should be easy to link > all programs that actually use the resolver with -lresolv. Is > there some standard that says that the resolver is an integral > part of the C library, such that separating the two would break > compatibility beyond comprehension? It is a historical matter of pride in BSD-land that the resolver is both available merely by linking libc ("BSD is a true networking OS"), and that the resolver code is perpetually out of datem relative to the ISC BIND distribution version of the resolver code. > If you wanted to be really evil, I suppose you could have a libc.a > that included the resolver and a libc.so that didn't. ;-) It's a lot easier to just have universal rules, and ignore the fact that ELF lets you do these things, if you want to ignore the fact that ELF was never written for static libraries in the first place, and let people link things static. 8-) 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message