Closed dgtlrift closed 6 years ago
The issue seems to be that cygwin bash (or all shells) cannot execute a Dos/Windows path directly.
DG@USATL1NB100 ~
$ C:\\cygwin64\\opt\\wodi64\\bin\\ocamlc.opt.EXE -v
-bash: C:\cygwin64\opt\wodi64\bin\ocamlc.opt.EXE: command not found
DG@USATL1NB100 ~
$ 'C:\\cygwin64\\opt\\wodi64\\bin\\ocamlc.opt.EXE' -v
-bash: C:\\cygwin64\\opt\\wodi64\\bin\\ocamlc.opt.EXE: command not found
DG@USATL1NB100 ~
$ "C:\\cygwin64\\opt\\wodi64\\bin\\ocamlc.opt.EXE" -v
-bash: C:\cygwin64\opt\wodi64\bin\ocamlc.opt.EXE: command not found
DG@USATL1NB100 ~
$ cygpath --unix 'C:\\cygwin64\\opt\\wodi64\\bin\\ocamlc.opt.EXE'
/opt/wodi64/bin/ocamlc.opt.EXE
DG@USATL1NB100 ~
$ `cygpath --unix 'C:\\cygwin64\\opt\\wodi64\\bin\\ocamlc.opt.EXE'` -v
The OCaml compiler, version 4.02.1
Standard library directory: C:/cygwin64/opt/wodi64/lib/ocaml/std-lib
DG@USATL1NB100 ~
This is possibly fixed since we've switched to jbuilder. Closing this one. Reopen if it still fails with the latest version.