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 08:57:38 +0300

> From: Tom Gray <tom_gray@keysight.com>
> Date: Thu, 12 May 2022 23:32:53 +0000
> 
>       several files, flag BOOL conflicts with windows "typedef int BOOL;" 
> needed for pc/popen.c

I'm surprised that the Cygwin build uses files in the pc/
subdirectory, and popen.c in particular.  I thought the Cygwin build
uses the Unix configury and the Unix files.

> In the attached diff I changed the flag BOOL to BOOLF to distinguish it from 
> the windows BOOL.
> Link changes are in extensions/Makefile.am
> 
> Tested in Cygwin, Msys2, Fedora 35.

If you are using MSYS2, then I guess it isn't a Cygwin build, but a
MinGW build?  But in that case, why did you need MSYS2 at all? the
MinGW build doesn't use MSYS2, it uses a pre-prepared config.h and
Makefile files.

So I'm confused regarding the problems you report and the build of
Gawk to which they pertain.



reply via email to

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