OCamlPro's version of OCaml on Windows
This is an experiment to provide a self-contained OCaml distribution
for Windows. You can download the ZIP archive, extract the files where
you want, add the
bin directory to your PATH, and you can start
using OCaml bytecode and native compilers. In particular, you don't need
to install Cygwin to use this distribution.
We only provide binary releases. If you are interested in getting an open-source copy of the sources for your own needs, or in clarifying other licensing issues, contact email@example.com.
MinGW, full MinGW and MSVC, and Cygwin
OcpWin comes in three variants:
- The "MinGW" variant is an OCaml distribution packaged with a minimal set of MinGW files (the "gcc" C-compiler distribution for Windows). It should be enough to compile any basic project without Cygwin or MSVC.
- The "full MinGW" variant is an OCaml distribution packaged with a complete set of MinGW files (the "gcc" C-compiler distribution for Windows). It can be used to compile any project that requires a complete C-compiler suite.
- The "MSVC" variant is an OCaml distribution packaged to use MSVC (Microsoft Visual Compiler) instead of MinGW. You should install the "Microsoft Windows 7 SDK" version (Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1), but it will work with any other version if you set Visual Studio environment variables correctly.
The two MinGW variants can be configured to use MSVC instead of MinGW
at runtime. For that, you should look for a file called
XX is 32 or 64) in the directory pointed by
and then set the variable
OCPCOMP_FILE to point to that file (with a
Windows path, not a Cygwin path):
All these versions will work normally under Cygwin, provided that you don't install another OCaml version in your Cygwin PATH before them.
Use this page for the latest version or go to one of beta releases, a corresponding download link should be available at the beginning of the release note.
There are no stable releases yet.
Beta Releases (Available now in 32 and 64 bits)
WARNING: Some versions are known to corrupt long PATH variables !!! Please, backup your PATH variable before installing. 2015 versions are supposed to fix the problem, please report if it is/it is not the case.
20160113: Release Notes
20151024: Release Notes
20151008: Release Notes
20141117: Release Notes
20141031: Release Notes
20141010: Release Notes
20141008: Release Notes
2014 October 7: Release Notes
2014 September 30: Release Notes
2014 September 23: Release Notes
2014 September 22: Release Notes
2014 September 21: Release Notes
2014 September 19: Release Notes
Some information is available here
Use this bug tracker
Basic Information on ocp-build
Read the stable subset to know how to use it in a forward compatibility mode.
Another installer is also provided for OCaml on Windows, by Jonathan Protzenko. The main differences are:
|32 bit version||Yes||Yes|
|64 bit version||Yes|
|MinGW C-Compiler||Included||Use Cygwin MinGW|
|Build Systems||ocp-build, ocamlbuild, ocamlc -make||ocamlfind, ocamlbuild|