Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2004 17:13:02 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Andrey Chernov <ache@nagual.pp.ru>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/gnu/lib/libreadline/readline Makefile
Message-ID:  <20041018141302.GA88398@ip.net.ua>
In-Reply-To: <20041018121120.GA67831@nagual.pp.ru>
References:  <200410180836.i9I8afRS060144@repoman.freebsd.org> <20041018090314.GA86525@ip.net.ua> <20041018090550.GA59302@nagual.pp.ru> <20041018091004.GC86525@ip.net.ua> <20041018091303.GC59302@nagual.pp.ru> <20041018091903.GD86525@ip.net.ua> <20041018092347.GA59835@nagual.pp.ru> <20041018092747.GB59835@nagual.pp.ru> <20041018115632.GA87870@ip.net.ua> <20041018121120.GA67831@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Andrey,

On Mon, Oct 18, 2004 at 04:11:20PM +0400, Andrey Chernov wrote:
> On Mon, Oct 18, 2004 at 02:56:32PM +0300, Ruslan Ermilov wrote:
> > Having a separate libtermcap library won't save anything with static
> > linkage as long as it's a subset of libncurses.  Ideally, the binary
> > linked with the real termcap library which is a subset of the ncurses
> > library will even be of the same checksum.
>=20
> Of course, I mean crunched variant where whole library packed.
>=20
Crunched binaries don't use whole libraries either.  The many .o
files just get linked with libraries the usual way.  (Unrelated,
but I thought I'd mention this anyway...)

> > I have a simple question for you: in your opinion, what's wrong with
> > replacing all these -l{curses,mytinfo,termcap,termlib,tinfo} with
> > one true -lncurses?  I planned doing it one day, but you seem to be
> > against it, as follows from the above.
>=20
> I am against it for the reasons I already explain, it put our sources int=
o=20
> unneded implementation details deeps.
>=20
OK, you made a decision.  :-)

But then perhaps you can tell me where the APIs for libcurses,
libmytinfo, libtermcap, libtermlib, and libtinfo are documented,
so one can decide which pseudo-library to link against in our
case of libncurses?  If you happen to know...  Because I read
README and it says it implements the System V curses API with
some extensions, and it doesn't mention any of the above libs.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--sdtB3X0nJg68CQEu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBc89uqRfpzJluFF4RAiGBAJ0fU7BBCzi4I3iRcQq/R9WHZZ+HhwCfQOu0
WZ2SXNxWyMEGuRRx+QrOAOw=
=f5pH
-----END PGP SIGNATURE-----

--sdtB3X0nJg68CQEu--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041018141302.GA88398>