Can't compile mintty-3.5.0
Lemures Lemniscati
lemures.lemniscati@gmail.com
Mon Apr 26 13:35:58 GMT 2021
On Mon, 26 Apr 2021 08:06:22 -0400, 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.
> >
> >
> > ====
> > 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 ?
> >
> windres should be in the binutils package.
>
Thank you.
But, I've installed binutils also.
----
$ uname -svrmo; cygcheck -c gcc-core make binutils
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
binutils 2.36.1-2 OK
gcc-core 10.2.0-1 OK
make 4.3-1 OK
----
I noticed that 'sh' (called from 'windres') tried to excecute a file named
'gcc -E -xc -DRC_INVOKED -MMD -MP -DTARGET=x86_64-pc-cygwin -DNDEBUG',
and failed.
By downgrading binutils to 2.35.2-1, it works successfully.
So it maybe an issue of windres (binutils), rather than mintty.
Regards,
Lem
More information about the Cygwin
mailing list