Posted by: AL|EN
« on: June 18, 2021, 02:35:00 PM »That's correct. The Cygwin-hosted non-MinGW OCaml produces binaries that are Cygwin-dependent, they do require cygwin.dll on Windows. So it was a wise recommendation to not use Cygwin OCaml build.
Note for future myself when I again forget about certain meanders of current WeiDU build system:
- follow https://fdopen.github.io/opam-repository-mingw/installation, create two different Cygwin installation for 32-bit and 64-bit
- for 64-bit you can try the graphical installer
- for 32-bit, ignore the graphical installer because it will have 64-bit Cygwin + 32-bit Ocaml which is not desired -> perform a manual installation of Cygwin 32-bit installation and follow 'Manual Installation' instruction to get opam32, then install desired OCaml variant using OPam
- put elkhound32.exe/elkhound64.exe into Cygwin\bin because you can't provide a full path inside the configuration
Note for future myself when I again forget about certain meanders of current WeiDU build system:
- follow https://fdopen.github.io/opam-repository-mingw/installation, create two different Cygwin installation for 32-bit and 64-bit
- for 64-bit you can try the graphical installer
- for 32-bit, ignore the graphical installer because it will have 64-bit Cygwin + 32-bit Ocaml which is not desired -> perform a manual installation of Cygwin 32-bit installation and follow 'Manual Installation' instruction to get opam32, then install desired OCaml variant using OPam
- put elkhound32.exe/elkhound64.exe into Cygwin\bin because you can't provide a full path inside the configuration