Skip to content

Instantly share code, notes, and snippets.

@renatoalencar
Created December 30, 2021 20:49
Show Gist options
  • Save renatoalencar/0977ed8b23f901b6c2ce87255f43dce0 to your computer and use it in GitHub Desktop.
Save renatoalencar/0977ed8b23f901b6c2ce87255f43dce0 to your computer and use it in GitHub Desktop.
Compiling OCaml on Windows

Install cygwin and add the following packages

  • cygwin
  • diffutils
  • make
  • mingw64-i686-gcc-core
  • mingw64-i686-runtime

./configure --build=i686-pc-cygwin --host=i686-w64-mingw32 --disable-dependency-generation

make world.opt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment