On 03/28/2012 07:36 PM, Adrien wrote:
On 28/03/2012, Wojciech Meyer<wojciech.me...@googlemail.com>  wrote:
On Wed, Mar 28, 2012 at 4:19 PM, Jonathan Protzenko
<jonathan.protze...@gmail.com>  wrote:
Unfortunately, ocamlbuild requires a unix-like environment, with a few
utilities in the path: bash, mkdir...
It looks like he's got a partially installed environment - as bash is there.

The installer only provides the very basics. It does not provide a unix
environment on windows, only the ocaml binaries, flexlink, and ocamlfind.
If
you want to go further, e.g. use ocamlbuild, or benefit from native
compilation, you need to install a development environment, such as
cygwin,
or msys. Currently, because of bug 5465, cygwin is the recommended way.

I've successfully used ocamlbuild under cygwin and msys, and it works
fine.
How about bundling the installer with cygwin or msys? Beware of the
license issues however.
Or make ocamlbuild not depend on bash. Only depending on a compliant
sh would already be quite nice but afaik, it should be possible to not
depend on a shell at all with minimal efforts.
Any patches will be more than welcome, of course :). I've been in the process of trying to fix a bug related to ocamlbuild on windows, and the code is pretty, daunting, to say the least. Any contributions in that area would be most appreciated, and I'd be more than happy to review them!

Cheers,

jonathan

Regards,
Adrien Nader

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to