delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/19/08:28:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4BF3D941.9080406@cwilson.fastmail.fm>
Date: Wed, 19 May 2010 08:27:45 -0400
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.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Re: NCurses and Cygwin
References: <68DC5D2BAA4B4BCE8AA0BD3730104D24 AT paikea> <AANLkTinm5ngjBhzgXrgXW54Y1-Z-ImpmtvEG4wXxTKmK AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTinm5ngjBhzgXrgXW54Y1-Z-ImpmtvEG4wXxTKmK@mail.gmail.com>
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

On 5/19/2010 2:04 AM, rushojp wrote:
> user AT localhost /usr/include
> $ for h in curses.h eti.h form.h menu.h ncurses.h panel.h term.h unctrl.h ; do
>> ln -s ncurses/$h $h ;done
> 
> I think libncurses-devel package should have these symlink files.

Is anybody going to read the documentation? From
/usr/share/doc/Cygwin/ncurses.README:

...
========================================================================
All libraries (libncurses, libpanel, libmenu, libform, libncurses++)
come in both static (.a) and dynamic (.dll) forms.  To link your project
with the C libraries:
  #0) Use -I /usr/include/ncurses when compiling
...
Port Notes:
----------  ncurses-5.7-18 -- 20090102 -----------
* Remove symlinks in /usr/include/ to /usr/include/ncurses/*


The reasons the symlinks in /usr/include were removed was to treat
ncurses and ncursesw the same, rather than stamping one as the
"approved" version with "official" symlinks in /usr/include.

Actually, I'd prefer if people started using -I/usr/include/ncursesw and
linking against the wide version of the library instead.

--
Chuck

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

- Raw text -


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