From: Jan Nijtmans <jan.nijtmans@gmail.com>
To: cygwin@cygwin.com
Subject: Re: cygwin DLL and mingw main
Date: Mon, 30 Jun 2014 13:25:00 -0000 [thread overview]
Message-ID: <CAO1jNwtgR0ifXHTj26O9PNy4rbBMskfhpN=EEH12RWCHYh3Brw@mail.gmail.com> (raw)
In-Reply-To: <loom.20140630T141818-298@post.gmane.org>
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
prev parent reply other threads:[~2014-06-30 13:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-30 12:25 Soren Hein
2014-06-30 12:44 ` ezmlm problems with yahoo/AT&T senders tednolan
2014-06-30 13:42 ` Larry Hall (Cygwin)
2014-06-30 13:53 ` tednolan
2014-06-30 13:25 ` Jan Nijtmans [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAO1jNwtgR0ifXHTj26O9PNy4rbBMskfhpN=EEH12RWCHYh3Brw@mail.gmail.com' \
--to=jan.nijtmans@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).