Hi David,

Thank you for your response. I have installed the official windows port of ocaml at http://protz.github.io/ocaml-installer/ . However, it mentions that MinGW/Msys is no longer supported. I rather use Mingw/Msys as well. 

It seems ocamlbuild requires cygwin to work, has this been your experience too? If I build the latest ocaml from trunk - 4.02dev+fp will ocaml and other tools/utilities still work on pure MingWg/Msys environment?

With regards to ocaml libraries, have you tried the Jane Street packages? Core, core_kernel ? 

Bikal Gurung


On 24 June 2013 10:27, David Allsopp <dra-news@metastack.com> wrote:
Bikal Gurung wrote:
> I am looking to use ocaml to implement a project for my employer. However,
> the environment is Windows OS. I am using cygwin and so far it seems to
> work but curious on experiences others have on using ocaml on windows -
> both as a development and deployment platform. Also has anyone tried using
> opam on windows? Does it work?

I've used the MinGW Windows port of OCaml for nearly a decade. Deployment of programs is the same as deploying anything else on Windows - deploying using executables built with ocamlopt is of course trivial as they have no dependencies beyond any libraries you choose to use.

Partly because of how long I've used OCaml, I still build it from sources - but there are now several options including the packaged Windows installer, GODI/WODI, etc. Although Windows OCaml users are a minority, there are quite a few developers actively contributing (the recent 64-bit MinGW port was community-initiated, I think).

Last time I looked, Windows support for opam appeared to be a todo list item, but I haven't looked in a while (laziness... I already have parallel build scripts of my own, so a package manager is lower down my priority list)

HTH,


David