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

Update BER MetaOCaml to run on native Windows #33

Open
3 tasks
dra27 opened this issue Apr 9, 2024 · 0 comments
Open
3 tasks

Update BER MetaOCaml to run on native Windows #33

dra27 opened this issue Apr 9, 2024 · 0 comments

Comments

@dra27
Copy link
Member

dra27 commented Apr 9, 2024

Repo at https://github.com/metaocaml/ber-metaocaml

It all basically works:

  • On mingw-w64, update ber-metaocaml-114/metaocamlc.c to propagate the exit code of the underlying tool correctly (execve is implemented on Windows, but has the wrong semantics)
  • On MSVC, update ber-metaocaml-114/metaocamlc.c to remove POSIX-isms, starting with the use of unistd.h
  • Update the testsuite to cope with CRLF output (that may involves using different diff options, stripping the CRs before comparison or going the whole hog and using ocamltest's lovingly crafted line-ending-agnostic file comparison function)
@jmid jmid added this to hackocaml Apr 9, 2024
@jmid jmid moved this to Todo in hackocaml Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant