On Sun, Nov 1, 2015 at 10:04 PM, Daniel Goldman <dgold...@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