This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc4 and -mno-cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]