Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "David Carter" To: Subject: RE: -mno-cygwin links me to cygwin1.dll Date: Tue, 28 Aug 2001 22:09:20 -0400 Message-ID: <000401c1302f$a528df80$6401a8c0@atl.mediaone.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20010829013055.13485.qmail@linuxmail.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Are you compiling c or c++ code? -mno-cygwin OOTB only really works for c code. If you're doing anything with c++, you need to download & install mingw headers & libraries, and be sure you are compiling & linking against them. --- David Carter david AT carter DOT net -----Original Message----- From: cygwin-owner AT sources DOT redhat DOT com [mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of bumps man Sent: Tuesday, August 28, 2001 9:31 PM To: cygwin AT cygwin DOT com Subject: -mno-cygwin links me to cygwin1.dll When I compile without -mno-cygwin, the application runs fine. With -mno-cygwin turned on, the application crashes with dialogue box: "The exception unknown software exception (0xc00000fd) occured in the application at location 0x6104b9ef." I press cancel and VisualC++ tells me there's a stack overflow in cygwin1.dll. cygcheck syas that my application is dependant upon cygwin1.dll. I am making sure to compile with -mno-cygwin for every single file and for linking (I don't know if linking matters). I am making serveral intermediate libraries before linking, which probably doesn't matter. Same problem with or without -mwindows (again probably doesn't matter). I have compiled and run the exact same code using MSVC++ with no problem, so I am sure I am not doing any unix-dependant stuff. thanks. -- Get your free email from www.linuxmail.org Powered by Outblaze -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/