aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ml
diff options
context:
space:
mode:
authorGravatar Jim Fehrle <jfehrle@sbcglobal.net>2017-12-23 13:37:52 -0800
committerGravatar Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2017-12-29 15:32:12 +0100
commit2aeb740de93a0b32efe71bbd3a129e39bc6439e5 (patch)
tree70160ddfb211aeed97d987a2bf1f451811300495 /configure.ml
parentdea75d74c222c25f6aa6c38506ac7a51b339e9c6 (diff)
Add instructions for debugging from the command line (and in Windows)
Avoid generating \r characters in generated dev/ocamldebug-coq (affects Windows)
Diffstat (limited to 'configure.ml')
-rw-r--r--configure.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ml b/configure.ml
index 06aa5e766..97dc14c00 100644
--- a/configure.ml
+++ b/configure.ml
@@ -1056,7 +1056,7 @@ let _ = print_summary ()
let write_dbg_wrapper f =
safe_remove f;
- let o = open_out f in
+ let o = open_out_bin f in (* _bin to avoid adding \r on Cygwin/Windows *)
let pr s = fprintf o s in
pr "#!/bin/sh\n\n";
pr "###### ocamldebug-coq : a wrapper around ocamldebug for Coq ######\n\n";