ocaml / flexdll

a dlopen-like API for Windows
Other
97 stars 30 forks source link

flexlink should cygpath %TEMP% before passing to bash #83

Open dra27 opened 4 years ago

dra27 commented 4 years ago
cd _boot && C:\ocamlmgw64\bin\ocamlopt.opt.exe -o ..\dune.exe -g -I +threads unix.cmxa threads.cmxa -no-alias-deps -w -49 fcntl_stubs.c -args mods_list
/bin/bash: C:UsersDRAAppDataLocalTemplongcmd7285c9: No such file or directory

Placeholder to check when I have more time, but changing TEMP to C:/Users/DRA/AppData/Local/Temp "fixed" the problem

dra27 commented 4 years ago

Actually the forward-slash trick wasn't sufficient - full repro was to set-up a mingw64 compiler from a command prompt: