This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: -mno-cygwin links me to cygwin1.dll
- To: <cygwin at cygwin dot com>
- Subject: RE: -mno-cygwin links me to cygwin1.dll
- From: "David Carter" <david at carter dot net>
- Date: Tue, 28 Aug 2001 22:09:20 -0400
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@carter.net
-----Original Message-----
From: cygwin-owner@sources.redhat.com
[mailto:cygwin-owner@sources.redhat.com] On Behalf Of bumps man
Sent: Tuesday, August 28, 2001 9:31 PM
To: cygwin@cygwin.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/