Hi!
Just to let you know.
I modified the files common\
zig.mk and \utils\hbmk2\hbmk2.prg
Of course, many errors and warnings appeared.
Line change config\
zig.mkAR := llvm-ar #zig ar
set hb
HB_COMPILER=zig
HB_INSTALL_PREFIX=c:\hbzig
HB_STATIC_CURL=yes
HB_STATIC_OPENSSL=yes
HB_WITH_CURL=C:\msys64\clang64\include
HB_WITH_MYSQL=C:\msys64\clang64
HB_WITH_ODBC=C:\msys64\clang64
HB_WITH_OPENSSL=C:\msys64\clang64\include
HB_WITH_PGSQL=C:\msys64\clang64\bin
...
! Finished package build and install...
./bin/win/zig/hbmk2.exe ./config/postinst.hb install
! Copying root documents...
! Copying Harbour script files...
! Making core translation (.hbl) files...
! Created c:\hbzig\bin\hbmk2.el.hbl <= utils\hbmk2\po\hbmk2.el.po
! Created c:\hbzig\bin\hbmk2.en.hbl <= utils\hbmk2\po\hbmk2.en.po
! Created c:\hbzig\bin\hbmk2.es.hbl <= utils\hbmk2\po\hbmk2.es.po
! Created c:\hbzig\bin\hbmk2.es_419.hbl <= utils\hbmk2\po\hbmk2.es_419.po
! Created c:\hbzig\bin\hbmk2.fr.hbl <= utils\hbmk2\po\hbmk2.fr.po
! Created c:\hbzig\bin\hbmk2.gl.hbl <= utils\hbmk2\po\hbmk2.gl.po
! Created c:\hbzig\bin\hbmk2.hu.hbl <= utils\hbmk2\po\hbmk2.hu.po
! Created c:\hbzig\bin\hbmk2.it.hbl <= utils\hbmk2\po\hbmk2.it.po
! Created c:\hbzig\bin\hbmk2.pt_BR.hbl <= utils\hbmk2\po\hbmk2.pt_BR.po
! Compiling core documentation (.hbd)...
! Created c:\hbzig\doc\harbour.hbd <= .\
! Compiling list of contrib functions (.hbr)...
! postinst script finished
Line change hbmk2.prg
ELSEIF hbmk[ _HBMK_cCOMP ] == "zig"
cBin_Lib := "llvm-ar" //"zig" + hbmk[ _HBMK_cCCEXT ] + " ar"
Best regards,
Itamar M. Lins Jr.