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

ocamlbuild on Windows seems to need bash #4388

Closed
vicuna opened this issue Sep 13, 2007 · 4 comments
Closed

ocamlbuild on Windows seems to need bash #4388

vicuna opened this issue Sep 13, 2007 · 4 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 13, 2007

Original bug ID: 4388
Reporter: rbornat
Status: closed (set by @xavierleroy on 2007-11-10T13:02:19Z)
Resolution: not a bug
Priority: normal
Severity: block
Version: 3.10.0
Category: ~DO NOT USE (was: OCaml general)
Monitored by: mwipliez rbornat ertai

Bug description

I got round the 'tput' problem by using -classic-display, but then it demands bash. This seems a shame: can't it use cmd.exe on Windows?

@vicuna
Copy link
Author

vicuna commented Sep 19, 2007

Comment author: rbornat

This may be because the binary distribution of 3.10.0 (either of the Windows chain versions, it is in two places on the website) completely fails to run on my Windows XP. The Objective Caml link on the desktop starts a window which immediately closes; ocamlrun won't run from a terminal window; but 3.09.3 runs happily.

I've asked about that problem on the mailing list; I'll let you know what happens when I get a fix for it.

@vicuna
Copy link
Author

vicuna commented Sep 24, 2007

Comment author: rbornat

I now have a working version of 3.10.0 on my XP machine. ocamlbuild is still asking for bash. Is there an approved bash for windows that I must have?

@vicuna
Copy link
Author

vicuna commented Nov 7, 2007

Comment author: mwipliez

What's up on this? Branches release310 and ocaml3100beta still contain this reference to bash (in "my_std.ml"). Is it not possible to simply use native Windows commands when executed on a Windows system, and call "bash" otherwise? Or use Unix.* calls?

@vicuna
Copy link
Author

vicuna commented Nov 10, 2007

Comment author: @xavierleroy

cmd.exe is not usable, as the quoting rules for its command-line arguments appear to be incomplete, and at any rate are not documented anywhere.

The recommended "bash" to use is that from Cygwin. More generally, we recommend the use of Cygwin for compiling OCaml programs under Windows.

@vicuna vicuna closed this as completed Nov 10, 2007
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant