cygwin DLL and mingw main

Jan Nijtmans jan.nijtmans@gmail.com
Mon Jun 30 13:25:00 GMT 2014


2014-06-30 14:25 GMT+02:00 Soren Hein <soren.hein@gmail.com>:
> If I compile (1) with cygwin and (2) with mingw, the resulting program
> segfaults when run.
....
> Why does it segfault?  It's driving me nuts.

Probably it crashes because the internals of cygwin1.dll
are not initialized. Somehow you will need to call
the function cygwin_dll_init() during initialization
(if it's possible at all what you are trying to do .....).

See:
    <http://cygwin.com/faq/faq.html#faq.programming.msvs-mingw>

Regards,
        Jan Nijtmans

--
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



More information about the Cygwin mailing list