delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/02/20:50:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49AC8CB6.4090205@cwilson.fastmail.fm>
Date: Mon, 02 Mar 2009 20:49:42 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: {ncurses/libncurses-devel/ncurses-demo}-5.7-11; New: libncurses9-5.7-11
References: <announce DOT 49AB0C19 DOT 7040807 AT cwilson DOT fastmail DOT fm> <20090302171926 DOT GO10046 AT calimero DOT vinschen DOT de>
In-Reply-To: <20090302171926.GO10046@calimero.vinschen.de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Corinna Vinschen wrote:
>> NOTE TO MAINTAINERS: You may need to add -ltinfo to LIBS when linking
>> against ncurses.
> 
> Is that really necessary?  I'm wondering if the gain isn't overshadowed
> by the additional requirement at configure time.  I don't see this lib
> on my Linux box either.  And it might hurt configuring OOTB.

My idea was that it would make things easier on 1.7 down the road, when
we have both ncurses and ncursesw, but only the one tinfo.

For a survey of linux to make sense, you have to exclude those which
ship only 5.6 and older -- which is quite a few; there was no tinfo
option then.  However, in my survey I find only one distro -- PLD --
that splits tinfo into a separate library, yet (almost) all of them ship
both narrow and wide versions of ncurses.  And PLD had to modify their
vim configury to use --with-tlib='ncurses -ltinfo'.

Both points reinforce your argument.

Now, I would just say: "Well, maintainers ought to use the handy new
ncurses9-config script, or even the new pkginfo, which are now supplied
with ncurses5.7."

But I can't say that, because they're borked.  They are apparently
ELF-only, as they do not list the dependent libraries.  That is, for
win32, the ncurses++.pc file ought to list '-lncurses++ -lpanel -lform
-lmenu -lncurses' (and maybe also -ltinfo, depending on the
configuration), not just '-lncurses++ -lncurses'.

Stay tuned for 5.7-3/5.7-12. Sigh.

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019