Question about -mno-cygwin.

Mumit Khan
Mon Feb 8 23:14:00 GMT 1999

On Mon, 8 Feb 1999, Arcadio A. Sincero Jr. wrote:

> Hello Gnu-Win32 Mailing List,
> 	I have a question concerning the -mno-cygwin command line switch.
> Will objects compiled without the -mno-cygwin switch link fine with
> objects compiled with it?  I ask because I noticed that if you want to
> build binaries using the -mno-cygwin switch, you need to link against
> Mingw32-specific versions of libstdc++ (and I assume Mingw32-specific
> versions of libobjc and libg2c as well, but I don't know for sure since I
> don't use Objective C or Fortran).

Yes, you need the migwn32 target libraries if you're linking against
libm.a, libstdc++ (C++), libiberty (BSD'ish porting routines), what not. 
I have these libraries on my site:

Of course, this is assuming you've upgrade to egcs-1.1.1.


Want to unsubscribe from this list?                             
Send a message to

More information about the Cygwin mailing list