Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 16 Jan 2001 12:30:04 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: two differents version of unctrl.h, one in cygwin-1.1.7 and one in ncurses-5.2 Message-ID: <20010116123004.H2692@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <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> <040201c07fb9$f6449160$0200a8c0 AT lifelesswks> <3A644D95 DOT FB8E7B46 AT yahoo DOT com> <044a01c07fc5$0449e390$0200a8c0 AT lifelesswks> <3A648477 DOT CDA965A6 AT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3A648477.CDA965A6@yahoo.com>; from earnie_boyd@yahoo.com on Tue, Jan 16, 2001 at 12:27:19PM -0500 On Tue, Jan 16, 2001 at 12:27:19PM -0500, Earnie Boyd wrote: >Robert Collins wrote: >> >> GCC, the most common compiler in use under cygwin (I feel pretty safe with this assumption) is the tool that will be faced with two >> include files of the same name, and the issue of getting the right one *has* been solved by *distributors* on platforms where the >> cygwin differences shouldn't affect the solution for this issue. >> > >As I've said in response to Chuck, GCC has a solution, it's the -I >switch. If you want to use the ncurses headers that are stored in >/usr/include/ncurses you just add `-I/usr/include/ncurses' and viola it >uses those headers instead of the /usr/include/unctrl.h header. To >configure a program you would > CC='gcc -I/usr/include/ncurses' ../configure ... >and the configure script would find the available headers. > >The rule of thumb to use is, if a package footprint steps on the >OS/runtime footprint the package footprint needs to be segregated in a >recognizable manner. My suggestion to use /usr/include/ncurses fits >that rule. In this case, I'm not sure exactly why newlib has a unctrl.h file, though. I'm willing to use the ncurses version instead if that is the consensus. The ncurses layout on my linux system seems to be different than cygwin though so I don't see a clear correspondence. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple