Strange crash in -mno-cygwin DLL

Brian Dessent brian@dessent.net
Thu Sep 8 14:42:00 GMT 2005


Julian Hall wrote:

> I'm compiling a library I've had working as a static library for a while
> into a dll using 'g++ -mno-cygwin'.  The compile works fine, and I'm

This would be something that you should take up with the mingw list.

> able to link an app to it, but the app crashes with the message
> 'Application failed to initialize (C0000005)'.  I've tried single

The symptoms you are seeing are the same as the problem that is created
when you have pointers to imported variables in a 'const' struct. 
<http://cygwin.com/ml/cygwin/2004-09/msg01101.html>.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list