Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dra27 opened this issue Apr 27, 2020 · 1 comment
Open

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

dra27 opened this issue Apr 27, 2020 · 1 comment

Comments

@dra27
Copy link
Member

dra27 commented Apr 27, 2020

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
Copy link
Member Author

dra27 commented Apr 27, 2020

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

  • set PATH=C:\ocamlmgw64\bin;C:\cygwin\usr\x86_64-w64-mingw32\bin;C:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\bin;C:\cygwin\bin;%PATH
  • Clone dune
  • ocaml bootstrap.ml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant