Available for test: gcc-3.1.1-2 gcc2-2.95.3-8

Charles Wilson cwilson@ece.gatech.edu
Mon Jul 15 00:55:00 GMT 2002


Question about threading models for -mno-cygwin:

Since the cygwin compiler is built using --enable-threads=posix, how 
does that affect the compiler in -mno-cygwin mode, and the mingw version 
of the stdc++ library in /usr/lib/mingw ?  I would assume that the 
"normal" mingw compiler uses --enable-threads=win32.  Does that mean 
that code (libraries) built using MINGW's g++ aren't usable by cygwin's 
g++ in -mno-cygwin mode (and vice versa)?

Also, I've seen repeated references that "mingw's compiler will be built 
with dwarf2 exceptions".  I assume that there are only two versions of 
EH code: dwarf2 and sjlj -- and you only get sjlj if you use 
--enable-sjlj-exceptions or somesuch?  (If so, then the "regular" mingw 
build -- which is claimed to be use dwarf2 EH, and the cygiwn build will 
both have dwarf2 EH, since mknetrel/extra/gcc *doesn't* say 
--enable-sjlj...)  Which is good.  If I'm right.

--Chuck


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



More information about the Cygwin mailing list