How do I compile a Win32 executable that doesn use Cygwin?
The -mno-cygwin flag to gcc makes gcc link against standard Microsoft DLLs instead of Cygwin. This is desirable for native Windows programs that don’t need a UNIX emulation layer. This is not to be confused with ‘MinGW’ (Minimalist GNU for Windows), which is a completely separate effort. That project’s home page is http://www.mingw.org/index.shtml.