bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cygwin build fix for master, gawk-5.1-stable


From: Eli Zaretskii
Subject: Re: cygwin build fix for master, gawk-5.1-stable
Date: Fri, 13 May 2022 20:07:37 +0300

> From: Tom Gray <tom_gray@keysight.com>
> CC: "bug-gawk@gnu.org" <bug-gawk@gnu.org>
> Date: Fri, 13 May 2022 16:03:33 +0000
> 
> Gcc on Cygwin and "Msys2 Msys" both define __CYGWIN__

That is true, but a MinGW build of Gawk and an MSYS build of Gawk are
two different builds.  MSYS build is indeed very similar to Cygwin,
but the MSYS build, too, should not use the files in the pc/
subdirectory, AFAIK.

> Gawk does not build out of the box with this shell and MSYS2 does not provide 
> a pre-built package.

You should take this up with the MSYS2 folks, they are the ones who
should care about the MSYS build of Gawk.

> The "MSYS2 MinGW 64" shell looks likes this.
> 
> $ uname -a
> MINGW64_NT-10.0-19042 CND7252M5N 3.3.4-341.x86_64 2022-02-15 17:24 UTC x86_64 
> Msys
> $  gcc -dumpmachine
> x86_64-w64-mingw32
> $  echo |  gcc -dM -E - | grep MING
> #define __MINGW32__ 1
> #define __MINGW64__ 1

Yes, this build indeed uses pc/popen.c, but it isn't a Cygwin build.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]