gcc4 and -mno-cygwin

Charles Wilson cygwin@cwilson.fastmail.fm
Thu Oct 1 21:24:00 GMT 2009


Jim Reisert AD1C wrote:
> I understand this error:
> 
> # gcc-4 -mno-cygwin
> gcc-4: The -mno-cygwin flag has been removed; use a mingw-targeted
> cross-compiler.
> 
> However, I could find no "mingw-targeted cross-compiler" for gcc-4
> (though they seem to be there for gcc-3).  Does one exist?

Not yet, but it is coming.  for now, explicitly use 'gcc-3 -mno-cygwin'
or switch your default gcc to version 3.x by using
/usr/bin/set-gcc-default-3.sh

--
Chuck

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list