a wrapper around
cygcheck and cygwin’s
The installation of external libraries (like pcre, gtk2, or gmp) is
very convenient this way.
/usr/x86_64-w64-mingw32/sys-root/mingw/binto your $PATH (in front of
/usr/bin, not after it!)
Now you can use
opam depext as usual. The following command for
example will install
OCaml-Top including all
dependencies (gtk2, gtksourceview, etc.):
depext-cygwinportswon’t work in multiuser contexts - you need write access to your root directory of cygwin. If you use the graphical installer and start it as normal user, the installer will configure it correct for you. If you want to install additonal cygwin packages later or update your installation, start cygwin’s setup with
cygwin-installis the wrapper installed by
depext-cygwinports, it will call cygwin’s setup with the right parameters for you).
And by the way, you can create multiple, independent cygwin installations without any problems. Every user could create its own version, it would just waste disk space.
depext-cygwinportsis a misnomer at the moment. Yaakov Selkowitz recently moved all relevant packages from his repository (‘cygwinports’) to the main repository. The latest release of
depext-cygwinportstherefore does not longer install any packages from cygwinports. But this might change again in the future.