Re: compile ncurses "hello world" to run independent of cygwin?

2015-11-02 Thread Darik Horn
On Mon, Nov 2, 2015 at 10:14 AM, Greg Freemyer wrote: > > The last time I checked (a few years ago), my understanding was the > cygwin dll's were licensed such that any programs using them had to be > GPL (or equivalent). > > Is that wrong? No, that is still the case: *

Re: compile ncurses "hello world" to run independent of cygwin?

2015-11-02 Thread Greg Freemyer
On Mon, Nov 2, 2015 at 7:48 AM, cyg Simple wrote: > On 11/1/2015 11:09 PM, Darik Horn wrote: >> >> 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

Re: compile ncurses "hello world" to run independent of cygwin?

2015-11-02 Thread Corinna Vinschen
On Nov 2 10:14, Greg Freemyer wrote: > On Mon, Nov 2, 2015 at 7:48 AM, cyg Simple wrote: > > On 11/1/2015 11:09 PM, Darik Horn wrote: > >> > >> Unless there is a specific reason to cross through Cygwin, it could be > >> easier to use the native MinGW environment directly: >

Re: compile ncurses "hello world" to run independent of cygwin?

2015-11-02 Thread cyg Simple
On 11/1/2015 10:04 PM, Daniel Goldman wrote: > > $ gcc ncurses-1.c -lncurses > > $ ./a.exe # runs perfectly under cygwin > A Cygwin build using the Cygwin runtime should work. > $ i686-pc-mingw32-gcc -I /usr/include ncurses-1.c -L /lib -lncurses > > $ ./a.exe > Segmentation fault > A MinGW

Re: compile ncurses "hello world" to run independent of cygwin?

2015-11-02 Thread cyg Simple
On 11/1/2015 11:09 PM, Darik Horn wrote: > > 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 > Poppycock! There is no reason that the user couldn't use Cygwin as the

Re: compile ncurses "hello world" to run independent of cygwin?

2015-11-01 Thread Darik Horn
On Sun, Nov 1, 2015 at 10:04 PM, Daniel Goldman 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

compile ncurses "hello world" to run independent of cygwin?

2015-11-01 Thread Daniel Goldman
I have a Windows 7 / 64 bit PC. I just installed 32 bit cygwin to d:\cygin\. Installed everything. https://cygwin.com/faq.html#faq.setup.everything I started up the Cygwin Terminal. $ echo $PATH /usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows