From owner-freebsd-arch@FreeBSD.ORG Thu Feb 23 18:46:55 2012 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DC71106566B for ; Thu, 23 Feb 2012 18:46:55 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 0675F8FC13 for ; Thu, 23 Feb 2012 18:46:54 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 3A19B6607; Thu, 23 Feb 2012 18:46:54 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 281F78B62; Thu, 23 Feb 2012 19:46:54 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Garrett Wollman References: <4F3C28DD.1020003@FreeBSD.org> <4F3C2D2D.5000402@FreeBSD.org> <4F3E78BA.4060203@FreeBSD.org> <864nupcuvl.fsf@ds4.des.no> <4F3E7B5A.20103@FreeBSD.org> <86zkchbff6.fsf@ds4.des.no> <4F3EADB5.7060008@FreeBSD.org> <20120223170918.GA79013@zim.MIT.EDU> <201202231822.q1NIMQOd020804@hergotha.csail.mit.edu> Date: Thu, 23 Feb 2012 19:46:54 +0100 In-Reply-To: <201202231822.q1NIMQOd020804@hergotha.csail.mit.edu> (Garrett Wollman's message of "Thu, 23 Feb 2012 13:22:26 -0500 (EST)") Message-ID: <86lint8k0x.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: arch@freebsd.org Subject: Re: bsd/citrus iconv X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 18:46:55 -0000 Garrett Wollman writes: > POSIX doesn't specify libc or any other library. It specifies (by > omission) that the function shall be available when the "c99" command > is used without any special "-l" arguments (such as "-l rt"). It can > be located in any library, so long as "c99" always includes that > library when building an executable. I beg to differ. The c99 man page explicitly lists a number of libraries (libc, libi, libpthread, libm, librt, libtrace, libxnet and liby), and states that libc will contain all functions *except* those defined in a short list of headers. This list does not include ; therefore, iconv must be in libc, cf. the original meaning of "the exception that proves the rule". DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no