This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: compile ncurses "hello world" to run independent of cygwin?
- From: Darik Horn <dajhorn at vanadac dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 1 Nov 2015 23:09:51 -0500
- Subject: Re: compile ncurses "hello world" to run independent of cygwin?
- Authentication-results: sourceware.org; auth=none
- References: <5636D2C5 dot 6020309 at ehdp dot com>
On Sun, Nov 1, 2015 at 10:04 PM, Daniel Goldman <dgoldman@ehdp.com> wrote:
>
> What am I doing wrong? How do I use cygwin to compile the test ncurses
> program so it can run in a dos terminal, independent of cygwin? I looked
> around the docs and archives and could not figure out.
Was libncurses built for the MinGW target on the Cygwin host?
Keep in mind that this job is a cross compile, so ncurses and every
other dependency must be built for the MinGW runtime. The mingw-* and
mingw64-* packages for Cygwin are just the toolchain plus some
essentials; there is no mingw-libncurses-devel package in
distribution.
Unless there is a specific reason to cross through Cygwin, it could be
easier to use the native MinGW environment directly:
* http://www.mingw.org/wiki/Getting_Started
And link against the ncurses redistributable:
* http://invisible-mirror.net/ncurses/ncurses.html
--
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