The OpenVMS GNV package provides a build environment similar to POSIX with ports
of a collection of open source tools. The gawk
found in the GNV
base kit is an older port. Currently, the GNV project is being reorganized
to supply individual PCSI packages for each component.
See https://sourceforge.net/p/gnv/wiki/InstallingGNVPackages/.
The normal build procedure for gawk
produces a program that
is suitable for use with GNV.
The file vms/gawk_build_steps.txt in the distribution documents the procedure for building an OpenVMS PCSI kit that is compatible with GNV.