GODI is a source-based package management system for the OCaml ecosystem. It provides an easy and consistent method of configuring, building, installing, upgrading, and removing software needed by OCaml developers: The OCaml compiler itself and a large list of libraries and development tools.
WODI is an extended Windows port of GODI. Its build system and package tools rely on Cygwin, but the libraries and programs, compiled with mingw-w64 and OCaml, are independent of Cygwin.
WODI differs from the official GODI distribution in the following ways:
- It ships compiled libraries and binaries for Windows (for 32- and 64-bit systems). You don’t need to build the OCaml compiler and third-party libraries from source. Patching and compiling packages from source is of course still possible.
- The source code and build instructions of many packages have been patched for better Windows support.
- It provides many often used external libraries (pcre, gmp, zlib, gtk, …) that are usually already installed on *nix systems, but are not available at default on Windows and are often difficult to install for inexperienced users.
- There is a GTK based user interface that hides the Cygwin shell and the GODI console from casual users.
- It provides improved Cygwin and Windows integration.
- The installation is easier and less time consuming.
( Archive )
December 05, 2013
JonY released a new version of the mingw64 compiler for cygwin. Up to now, I couldn’t observe any incompatibilities. Rebuilds of flexdll, ocaml, and other programs don’t seem to be necessary. But let me know, if you encounter any problems.
I’ve also uploaded new versions of some packages, e.g:
The Download Page has also been modified. Installation via the graphical installer is not longer recommended, because it didn’t work well for too many users. Manual installation from a terminal window is hopefully more reliable.
Cygwin's setup-x86.exe broken
October 09, 2013
It looks like the new version of cygwin’s setup-x86.exe breaks the WODI installer. Setup-x86.exe doesn’t handle dependencies between packages automatically any longer.
If you want to install WODI, please first install cygwin manually and then run the WODI installer thereafter.
Update: The cygwin crew seems to have fixed the problem.
OCaml 4.01.0 released
September 13, 2013
OCaml version 4.01.0 was released yesterday. New binary builds can be found in the Download Section.
Update to ocaml 4.01. Nearly all packages at least compile with the new version (with some small patches here and there).
To strengthen the quality of the binary builds, I’ve gone through the most popular packages and ensured that the test cases are run during the build process (e.g. batteries, core_kernel, ocaml itself). Of course, it only works for a minority of the packages. Most packages don’t provide (maintained) test cases or require manual inspection of the end-result.
I’ve updated my scripts that import external c/c++-libraries from the SUSE Factory. I’ve mistakenly assumed the same dependencies for 32-bit and 64-bit platforms, which has led to wrong dependencies and contents in the base-* packages of WODI.
oasis and omake have been further modified for better windows support. (Omake still fails to build, but only the 64-bit byte-code version - and only with with recent mingw versions. I must have overlooked something. However, native code compilation seems to work. Let me know, if you encounter any problems with omake)
The WODI repository is now available at github. If you have a problem with a package or WODI itself, can create an issue there. The godi mailing list might disappear.
ocamltop-gtk (ocamltop-win) has been further modified for better windows support.
There is now a pre-configured eclipse package with OCaml support (via OcaIDE). (It turns out, that the ocaml support is very basic. It lacks the features that make eclipse so popular as editor for other languages.)
some packages have been upgraded to newer versions
WODI still maintained / New builds online
August 03, 2013
GODI is shutting down, but WODI is still maintained.
Cygwin recently updated their compiler packages (mingw*) and various build related tools (e.g. patch). This unfortunately has broken many packages. I’ve now updated the build instructions. A new installer is available in the Download Section. (Edit: Sorry, an upgrade from previous builds through the package manager is not possible, you have to reinstall WODI. Cygwin’s new 64-bit version is not supported yet)
I’ve also added new packages; e.g. there are now packages for ocp-indent and ocp-index. If they are installed, they will be used automatically by Emacs or Ocamleditor (the latter can only use ocp-indent).
OCamltop-gtk and OCaml-Top are now installed by default. They are hopefully more beginner friendly than the dated OcamlTopWin.
July 26, 2013
Cygwin recently updated their mingw-* packages, that are used internally by ocaml. Unfortunately, this new version (4.7.3) doesn’t work well with the ocaml toolchain. If you encounter any problems, downgrade the following packages (via cygwin’s setup.exe):
- mingw-w64-(i686|x86_64)-gcc-core to version 4.5.3-6
- mingw-w64-(i686|x86_64)-runtime and mingw-w64-(i686|x86_64)-headers to version 3.0b_svn5747-1