public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* -mno-cygwin and C++
@ 2001-03-27 19:22 Kenton Varda
  2001-03-27 19:54 ` Christopher Faylor
  0 siblings, 1 reply; 15+ messages in thread
From: Kenton Varda @ 2001-03-27 19:22 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2001-03-31 19:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-27 19:22 -mno-cygwin and C++ Kenton Varda
2001-03-27 19:54 ` Christopher Faylor
2001-03-27 20:49   ` Danny Smith
2001-03-29 12:07     ` mingw-extra-2.95.3 [Was: Re: -mno-cygwin and C++] Danny Smith
2001-03-31 19:10       ` Christopher Faylor
2001-03-27 21:48   ` -mno-cygwin and C++ -- solved! Kenton Varda
2001-03-27 22:13     ` Christopher Faylor
2001-03-28 18:32     ` Paul Garceau
2001-03-29 11:54       ` Christopher Faylor
2001-03-29 19:33         ` Paul Garceau
2001-03-29 20:18         ` Mumit Khan
2001-03-29 20:46           ` Christopher Faylor
2001-03-29 20:57             ` Robert Collins
2001-03-29 21:13               ` Christopher Faylor
2001-03-29 23:00             ` Mumit Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).