c++ and -mno-cygwin

Geoffrey Noer noer@cygnus.com
Thu Dec 24 14:51:00 GMT 1998

On Wed, Dec 23, 1998 at 07:57:49PM +0100, Bernard DAUTREVAUX wrote:
> HOWEVER, the other libXXX.a that you will link with may need cygwin.dll! the 
> -mno-cygwin flag should select another set of libraries compiled
> also with the -mno-cygwin flag set. The problem is that these
> libraries are not provided

Yeah, this is a problem.  As it is, 20.1 with -mno-cygwin is
problematic for C++ coding since the provided libstdc++ is built with
Cygwin.  In principle the sources could be set up for something we
call multi-libbing where libstdc++ and libiberty would be built twice,
once with Cygwin and once without but this is a real pain to do and
most development inside Cygnus is in C so this may not happen soon
unless someone on the Net works on this and sends me a patch.

More than this, I really, really want to do away with having two
separate toolchains though (mingw and Cygwin).  Unfortunately, it
would be time consuming to make the use of Cygwin off by default and
add the hooks to all of our tools so that it's included and that would
make porting Unix software harder.  But on the other hand, it would
make native development easier and that makes more inherent sense to
me as the default for the Win32 config of gcc.  Most of this stuff
isn't hard to do but it would take a fair amount of effort.

Volunteers welcome as always...

Happy holidays to everyone around the globe!

Geoffrey Noer
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

More information about the Cygwin mailing list