This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Using curses with -mno-cygwin

I'd bet a shiny new quarter that cygwin supports linking to the ncurses
library. Both aalib (aafire) and mc (Midnight Commander) work just fine,
which indicates that curses is a go.


       ncurses - CRT screen handling and optimization package

       #include <curses.h>

       The  ncurses  library  routines  give  the  user a
       method of updating  character  screens  with  reasonable
       This  implementation  is  ``new  curses'' (ncurses) and is the
       replacement for 4.4BSD classic curses,  which  has  been
       This describes ncurses version 5.5 (patch 20061104).

Charles Stepp
Meskimen's Law:
There's never time to do it rite, but there's always time to do it over.
-----Original Message-----
From: Christopher Faylor
Sent: Monday, March 24, 2008 8:58 AM
Subject: Re: Using curses with -mno-cygwin

On Mon, Mar 24, 2008 at 10:41:41AM +0100, Public Mailing Lists wrote:
>I'd like to compile an old unix program that uses curses as a windows
>standalone application.  Is it possible to do this with Cygwin?
>MinGW supports curses, and Cygwin supports MinGW.  It looks like curses
>is gone once I pass -mno-cygwin to gcc.  Is this intentional?

To generalize your question, you're asking if the cygwin version of
something is unavailable when you use an option called "-mno-cygwin".
I'd think that the option would be self-documenting in this case but,
the answer is "Yes, it's intentional".

If MinGW supports curses then you probably should be using MinGW if
you don't want to have your application rely on the Cygwin DLL.


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]