bug-gawk
[Top][All Lists]
Advanced

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

MSYS2 build script patches for gawk 4.2.1+


From: pjfarley3
Subject: MSYS2 build script patches for gawk 4.2.1+
Date: Sun, 3 Nov 2019 01:41:58 -0400

This is just an FYI for the gawk development team.

 

I don't know if you are aware of the set of build script patches created by
the MSYS2 project that enables gawk 4.2.1+ (and specifically 5.0.1) to
configure and make and make check cleanly under MSYS2 (not under MINGW64,
just in the MSYS2 POSIX environment).

 

https://github.com/msys2/MSYS2-packages/tree/master/gawk

 

The patch file there is named gawk-4.2.1-msysize.patch.  The patches mainly
seem to add an "msys*" option in several build scripts just after the
"cygwin*" system identity alternatives.

 

Some of the patches seem to already be present in 5.0.1 (patch complains
that some of the changes are already present), but not all.  I manually made
the patches listed where not already done in 5.0.1 and indeed gawk then
configures and makes and make checks cleanly (outside of tests that are
known to fail in the MSYS2 environment like mbprint5), including readline
and mpfr functionality and rest of the standard extensions sub-directory.

 

With these patches the extension libraries build as *.dll's rather than as
*.so or *.a libraries and everything Just Works on my Win10 system.

 

The binary gawk 5.0.1 that is available via pacman in the MSYS2 environment
does seem to work quite well there, as does my manually built version, at
least in my limited personal testing.

 

HTH

 

Peter

--

 



reply via email to

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