Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <43204CC8.BAB1456@dessent.net> Date: Thu, 08 Sep 2005 07:38:00 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Strange crash in -mno-cygwin DLL References: <431FEDBA.1060204@meridiandigital.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin@cygwin.com 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. . 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/