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

ocamlfind output has problems on windows #70

Open
mseri opened this issue Nov 29, 2023 · 1 comment
Open

ocamlfind output has problems on windows #70

mseri opened this issue Nov 29, 2023 · 1 comment

Comments

@mseri
Copy link
Member

mseri commented Nov 29, 2023

On windows in unix context it should not output the extra \r otherwise it breaks its use in configure scripts: see ocaml/opam-repository#24841

@dra27
Copy link
Member

dra27 commented Mar 28, 2024

This is not the correct approach - ocamlfind on Windows should emit \r\n because it's a Windows program (emitting Unix line-endings does actually cause problems for native Windows shell utilities which expect CRLF). The patch in the issue (using tr -d on the Unix side) is what should be done. It's all part of the encouragement to stop using Posix when you actually want to be cross-platform 🙂

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

2 participants