delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/16/08:29:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A644CA3.DB0777A1@yahoo.com>
Date: Tue, 16 Jan 2001 08:29:07 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
CC: Earnie Boyd <cygwin AT cygwin DOT com>,
"Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com>,
cygwin AT sources DOT redhat DOT com
Subject: Re: two differents version of unctrl.h, one in cygwin-1.1.7 and one in
ncurses-5.2
References: <kvk87wx4h4 DOT fsf_-_ AT vzell DOT de DOT oracle DOT com> <3A63CEBA DOT 6509B31 AT ece DOT gatech DOT edu> <3A643D02 DOT BCA1CC9C AT yahoo DOT com> <3A643F10 DOT 480F6601 AT ece DOT gatech DOT edu>

Charles Wilson wrote:
> 
> Earnie Boyd wrote:
> >
> > Charles Wilson wrote:
> > >
> > > I'll release a new ncurses where the ncurses version of unctrl.h is
> > > renamed 'nunctrl.h' and change all internal ncurses references to point
> > > to the new file.  But I can't guarantee any time frame on that.
> > >
> >
> > I don't know about the rest of this list but I would prefer it be
> > /usr/include/ncurses/unctrl.h.  It is then obvious as to what it is
> > for.  If you name it nunctrl.h then it won't be that obvious.
> 
> But if I do that, then where should all the other include files for
> ncurses go?  It's really odd for them to be split between /usr/include
> and /usr/include/ncurses/.  

IMO, yes, even if it is odd, they should be put in
/usr/include/ncurses.  At least programs won't have to be modified to
use the ncurses version of unctrl.h like they would if you renamed it. 
The correct headers will be used by a simple switch to gcc - see below.

> However, ncurses is not like readline -- it
> doesn't like to install its header files into a subdirectory of
> /usr/include.  (e.g. the #include directives for most packages that
> depend on ncurses reference <curses.h>, not <ncurses/curses.h>.  This
> also goes for the ncurses header files themselves -- they
> inter-reference <foo.h>, not <ncurses/foo.h> or "foo.h".
> 

This can be handled via
  CC='gcc -I/usr/include/ncurses'
so that the headers in ncurses is found instead of the headers in
/usr/include.


Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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