Building GNU Make 4.4.1 on zOS 28.00

Prem Karthick via Users list for the GNU implementation of make <[email protected]> Mon, 4 Aug 2025 11:32:36 +0000
Newsgroups gmane.comp.gnu.make.general
Message-ID <IA4PR10MB8327D3CE3AB3D49765D9A1F68223A@IA4PR10MB8327.namprd10.prod.outlook.com>
Hello Team,

I am trying to build GNU Make 4.4.1 on zOS. My environment details:

  1.  zOS:
$ uname -r
OS/390 XXXXXX 28.00 04 3931
  2.  Compiler:

$ ibm-clang --version

IBM Open XL C/C++ 1.1 for z/OS, (5650-ZOS), clang version 14.0.0

I am hitting the following error:
$ ./configure MAKE=3Dgmake CXX=3Dibm-clang++ CC=3Dibm-clang CPPFLAGS=3D-m64=
 -DNSIG=3D42 -D_XOPEN_SOURCE=3D600 -D_ALL_SOURCE -D_OPEN_SYS_FILE_EXT=3D1 -=
D_AE_BIMODAL=3D1 -D_ENHANCED_ASCII_EXT=3D0xFFFFFFF -DZOSLIB_OVERRIDE_CLIB=
=3D1 CFLAGS=3D-std=3Dgnu11 -mnocsect -m64 -I/u/data002/pkarthi/MAKE-441/zos=
lib-zopen2/include LDFLAGS=3D-L/u/data002/pkarthi/MAKE-441/zoslib-zopen2/li=
b LIBS=3D-lzoslib

trap: ./configure 2326: FSUM7327 signal number 13 not conventional
checking for a BSD-compatible install... ./build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking whether gmake supports the include directive... yes (GNU style)
checking for gcc... ibm-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/u/data002=
/pkarthi/MAKE-441/make-4.4.1':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

Is this platform supported? Please share your inputs.

Thanks,
Prem