The official windows installer (built using NSIS) for OCaml
See the codeThese are the source files if you want to rebuild the installer. If you just want to download the installer, see the "website" link near the top of the page.
The installer now uses the "official" toolchain, namely Mingw64 living in a Cygwin environment. The current version of this installer works with OCaml 4.0; if you want to compile an older version of OCaml, you need to switch to and older revision.
The instructions above sometimes use the c:\...-style paths, sometimes the
/c/...-style paths. This is significant, and you cannot blindly replace one
for another.
export PATH=/cygdrive/c/path/to/flexdll:$PATHflexlink/ directory of the installer, so that the
resulting installer ships the right version of flexdll (optional,
recommended).c:\tcl).
Make sure the URL in install.nsi is up-to-date.c:\ocamlmgw), this will make your life easier.README.Win32, section "MinGW/Cygwin". Try to
compile OCaml. Swear. Try again. Grab a tea. Succeed. Be happy./cygdrive/c/ocamlmgw/bin is in your path.configure make all and make installemacs/ directory.
emacs.exe in your path (install Emacs if you have to)./cygdrive/c/ocamlmgw/emacsfiles.make in that directory.make && make install.configure, make all opt, make install.findlib.confsrc/findlib/topfind_rd1.p to topfind in the OCaml Installer
directory.nsisunz.dll somewhere on the interwebs and put it NSIS's
Plugins directory.ocaml-installer directory (i.e. this repo), run make. This should
create a variety of files:
version.nsh, a NSIS header file that is generated to contain the freshly
compiled OCaml's version number,uninstall_lines.nsi, an OCaml-generated list of files to remove from the
install directory.rlwrap ocaml, then #use "topfind";;, then #camlp4r;;ocamlfind ocamlc -package unix -linkpkg test.ml where test.ml uses the
Unix module, of course.odb on a sample package (e.g. lwt)labltktop, ocamlbrowser...All patches should be submitted using GitHub pull requests. All issues should be filed using the GitHub issue tracker.
The MIT License (MIT)
Copyright (c) 2015 Jonathan Protzenko
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS
92.5%
OCaml
4.6%
Makefile
2.0%
Emacs Lisp
1.0%
The official windows installer (built using NSIS) for OCaml
See the codeThese are the source files if you want to rebuild the installer. If you just want to download the installer, see the "website" link near the top of the page.
The installer now uses the "official" toolchain, namely Mingw64 living in a Cygwin environment. The current version of this installer works with OCaml 4.0; if you want to compile an older version of OCaml, you need to switch to and older revision.
The instructions above sometimes use the c:\...-style paths, sometimes the
/c/...-style paths. This is significant, and you cannot blindly replace one
for another.
export PATH=/cygdrive/c/path/to/flexdll:$PATHflexlink/ directory of the installer, so that the
resulting installer ships the right version of flexdll (optional,
recommended).c:\tcl).
Make sure the URL in install.nsi is up-to-date.c:\ocamlmgw), this will make your life easier.README.Win32, section "MinGW/Cygwin". Try to
compile OCaml. Swear. Try again. Grab a tea. Succeed. Be happy./cygdrive/c/ocamlmgw/bin is in your path.configure make all and make installemacs/ directory.
emacs.exe in your path (install Emacs if you have to)./cygdrive/c/ocamlmgw/emacsfiles.make in that directory.make && make install.configure, make all opt, make install.findlib.confsrc/findlib/topfind_rd1.p to topfind in the OCaml Installer
directory.nsisunz.dll somewhere on the interwebs and put it NSIS's
Plugins directory.ocaml-installer directory (i.e. this repo), run make. This should
create a variety of files:
version.nsh, a NSIS header file that is generated to contain the freshly
compiled OCaml's version number,uninstall_lines.nsi, an OCaml-generated list of files to remove from the
install directory.rlwrap ocaml, then #use "topfind";;, then #camlp4r;;ocamlfind ocamlc -package unix -linkpkg test.ml where test.ml uses the
Unix module, of course.odb on a sample package (e.g. lwt)labltktop, ocamlbrowser...All patches should be submitted using GitHub pull requests. All issues should be filed using the GitHub issue tracker.
The MIT License (MIT)
Copyright (c) 2015 Jonathan Protzenko
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS
92.5%
OCaml
4.6%
Makefile
2.0%
Emacs Lisp
1.0%