depext cygwin

depext-cygwinports provides all functions that are necessary in order to support opam-depext under cygwin. The installation of external libraries (like pcre, gtk2, or gmp) is very convenient this way.

depext-cygwinports will also install a wrapper for pkg-config inside $(opam config var bin). pkg-config is available as either i686-w64-mingw32-pkg-config or x86_64-w64-mingw32-pkg-config under cygwin and most build instructions will just look for pkg-config.


opam install depext depext-cygwinports


Now you can use opam depext in the same way as under linux. The following command for example will install OCaml-Top including all dependencies (gtk2, gtksourceview, etc.):

opam depext -i ocaml-top