This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Using curses with -mno-cygwin
- From: "Stepp, Charles" <Charles dot Stepp at T-Mobile dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 25 Mar 2008 10:33:14 -0700
- Subject: RE: Using curses with -mno-cygwin
- References: <20080324125738.GA6109@ednor.casa.cgf.cx>
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(3X)
ncurses(3X)
NAME
ncurses - CRT screen handling and optimization package
SYNOPSIS
#include <curses.h>
DESCRIPTION
The ncurses library routines give the user a
terminal-independent
method of updating character screens with reasonable
optimization.
This implementation is ``new curses'' (ncurses) and is the
approved
replacement for 4.4BSD classic curses, which has been
discontinued.
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
[mailto:cgf-use-the-mailinglist-please@cygwin.com]
Sent: Monday, March 24, 2008 8:58 AM
To: cygwin@cygwin.com
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.
cgf
--
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/