delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/27/22:23:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Kenton Varda <temporal AT gauge3d DOT org>
To: cygwin AT cygwin DOT com
Subject: -mno-cygwin and C++
Date: Tue, 27 Mar 2001 21:22:51 -0600
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01032721225103.27978@sabin>

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.

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? :/

Thanks...

-Kenton Varda

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019