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

ocamldoc #62

Open
wintersteiger opened this issue Jan 19, 2018 · 3 comments
Open

ocamldoc #62

wintersteiger opened this issue Jan 19, 2018 · 3 comments
Labels

Comments

@wintersteiger
Copy link

After installing the windows toolchain, the ocamldoc command for that toolchain is a Windows-binary at .../windows-sysroot/bin/ocamldoc.exe, which, when run via

ocamlfind -toolchain windows doc

throws

Fatal error: unknown C primitive `win_waitpid'

(On my WSL Ubuntu.) Since this is usually run on the host anyways, it's fine to use the host-compiled ocamldoc, but either way should really be fixed.

@whitequark
Copy link
Member

Known issue, not considered important enough to spend time on. Patches welcome, of course.

@wintersteiger
Copy link
Author

Good to know, thanks! Is the plan to keep Windows-binaries for all tools in windows-sysroot?

@whitequark
Copy link
Member

In theory, it should be a host-runnable binary, i.e. the same as ocamlfind doc. I don't recall what was wrong to make it a Windows one, some build system plumbing not set up quite right, nothing major.

@whitequark whitequark added the bug label Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants