mingw-targeted cross-compiler question

gviewer marlonmin@gmail.com
Wed Dec 15 21:41:00 GMT 2010


My cygwin may already install that package, then how to modify the flag in
Makefile to compile.



NightStrike wrote:
> 
> On Wed, Dec 15, 2010 at 2:41 PM, gviewer <marlonmin@gmail.com> wrote:
>>
>> Hello, I downloaded a software and tried to compile it on cygwin, I got
>> an
>> error message:
>>
>> "gcc: The -mno-cygwin flag has been removed; use a mingw-targeted
>> cross-compiler."
>>
>> I checked the Make file, it used this flag:
>> gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ...
>>
>> What should I use exactly to replace the '-mno-cygwin' flag? Thanks a
>> lot.
> 
> You can install the windows cross compilers that are provided as
> cygwin packages.  You can pick ones that target either 64-bit windows
> or 32-bit windows.
> 
> --
> 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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/mingw-targeted-cross-compiler-question-tp30467239p30467813.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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