From owner-freebsd-ports Sun Feb 17 14:30: 1 2002 Delivered-To: freebsd-ports@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 4C92E37B402; Sun, 17 Feb 2002 14:29:53 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id g1HMToC74888; Mon, 18 Feb 2002 01:29:51 +0300 (MSK) (envelope-from ache) Date: Mon, 18 Feb 2002 01:29:47 +0300 From: "Andrey A. Chernov" To: sobomax@FreeBSD.org Cc: freebsd-ports@FreeBSD.org, i18n@FreeBSD.org Subject: Re: iconv port: plea for take-over Message-ID: <20020217222946.GA74674@nagual.pp.ru> References: <20020215232829.GA49008@nagual.pp.ru> <20020216042213.GA54552@nagual.pp.ru> <20020216161910.GU44003@squall.waterspout.com> <20020216190141.GA60826@nagual.pp.ru> <20020217022052.GQ44003@squall.waterspout.com> <20020217024757.GA65001@nagual.pp.ru> <1013951311.37941.24.camel@notebook> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <1013951311.37941.24.camel@notebook> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 17, 2002 at 15:08:05 +0200, Maxim Sobolev wrote: > > No, runtime linking will fail, all functions have 'g' prefix in > > applications (after co-existance hack), f.e. application calls 'giconv(= )' > > while library (after hack removing) will have 'iconv()'. To make API the > > same, application includes giconv.h with=20 > > #define iconv giconv=20 > > All this is dirty hack should be removed from GNU iconv port AND=20 > > applications. >=20 > This is incorrect assertion. In fact names of all functions are the same > both in iconv and giconv, the difference is only in library name and > header name. This is semi-correct assertion :-) I was not quite right (since I check it long time ago), but you is not right at all. They renamed not with "g" but with another prefix, "lib", see this and similar places from giconv.h: #ifndef LIBICONV_PLUG #define iconv libiconv #endif And just do: nm /usr/local/lib/libgiconv.a > Konstantin's is BSDL. Also I don't think that the terms "old"/"new" are > applicable here, because in fact GNU iconv is either older or of I not insist on "old/new" scheme. Just think about "old" like unsupported= =20 (nobody agrees to take it yet). > approximately the same age as Konstantin's. Moreover, GNU's iconv could > be configured to use loadable modules instead of linking them all into > one mega-library, so that the difference is even more vague. :) So, GNU iconv must be configured to use loadable modules. --=20 Andrey A. Chernov http://ache.pp.ru/ --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iQCVAwUBPHAu2uJgpPLZnQjrAQFcYgP/W1Uk00bMp0hSD/oCWo35u26HsYntBnUu QvJuEMNDLW9//+Zm2jFPjj2h8TmsVWF/7xUaKs+GdLzwNhkmFcRK6EABwUTJL/fM CxyETRK01rJs+07wzFjFx1u8bxL0zkNhe9A0Q5dNpelqa6rvQrrIP1a/8iUBr2OH jIqMfOphleI= =J/fL -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message