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 Date: Tue, 27 Mar 2001 22:55:06 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: -mno-cygwin and C++ Message-ID: <20010327225506.A29339@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <01032721225103 DOT 27978 AT sabin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <01032721225103.27978@sabin>; from temporal@gauge3d.org on Tue, Mar 27, 2001 at 09:22:51PM -0600 On Tue, Mar 27, 2001 at 09:22:51PM -0600, Kenton Varda wrote: >I just updated my copy of cygwin today, and it appears that using -mno-cygwin >no longer works with C++. When I try to include STL headers, I get "file not >found" errors. I tried adding -I/usr/include/g++-3 to the command line, but >that just led to linker errors related to __errno and other symbols, >presumably because it tried to link against cygwin's libstdc++.a rather than >mingw's. When you say "no longer works with C++", I think you actually mean "never worked with C++". >Next, I tried installing gcc-2.95.2-mingw-extra.tar.gz as I had to with my >old copy of cygwin. With this, my only error was "undefined reference to >_imp___HUGE_dll". I looked for a new version of this package for gcc-2.95.3, >but found none... > >So, what is the latest hack required to make C++ work with -mno-cygwin? >Perhaps, in a future version, this will work without special hacks? :/ Presumably you need a version of libstdc++ which was built with msvcrt.dll in mind rather than dllcrt.dll. You could probably build this yourself from the gcc sources. Apparently others have successfully done this. I have repeatedly asked for volunteers to provide this for Cygwin's mingw package but so far no one has stepped forward. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple