Can't compile mintty-3.5.0

Thomas Wolff towo@towo.net
Mon Apr 26 12:14:14 GMT 2021


Am 26.04.2021 um 14:06 schrieb Eliot Moss:
> On 4/26/2021 8:00 AM, Lemures Lemniscati via Cygwin wrote:
>> Hi!
>>
>> I tried to compile mintty-3.5.0,
>> but failed with the message:
>>
>> windres -c 65001 --preprocessor 'gcc -E -xc -DRC_INVOKED -MMD -MP 
>> -DTARGET=x86_64-pc-cygwin -DNDEBUG' res.rc ../bin/cygwin64/res.o
>> /bin/sh: gcc -E -xc -DRC_INVOKED -MMD -MP -DTARGET=x86_64-pc-cygwin 
>> -DNDEBUG: command not found
>> windres: preprocessing failed.
This is due to a bug in windres. The binutils 2.36 version is broken,
see https://sourceware.org/bugzilla/show_bug.cgi?id=27594
A workaround is available but I'd prefer to let them fix their bug.
For now, please downgrade binutils to 2.35 and maybe make a copy of its 
windres tool into your path.
Thomas

>>
>>
>> ====
>> How to reproduce
>>
>> With source from https://github.com/mintty/mintty at tag: 3.5.0,
>> running
>>
>>      make
>>
>> failed at the point above.
>> .
>> With mintty-3.5.0-1.cygport,
>> running
>>
>>      cygport mintty-3.5.0-1.cygport all
>>
>> failed at the same point.
>>
>>
>> ====
>> I've installed these packages as described in a file 'INSTALL'.
>> What is still necessary for successful build ?
>>
>> ----
>> $ uname -svrmo; cygcheck -c gcc-core make
>> CYGWIN_NT-10.0 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin
>> Cygwin Package Information
>> Package              Version        Status
>> gcc-core             10.2.0-1       OK
>> make                 4.3-1          OK
>> ----
>
> windres should be in the binutils package.
>
> EM
>



More information about the Cygwin mailing list