ocamlc
The OCaml bytecode compiler. Produces executables runnable by the OCaml interpreter. More information: <https://ocaml.org>.
Install
- All systems
-
curl cmd.cat/ocamlc.sh
- Debian
-
apt-get install ocaml-nox - Ubuntu
-
apt-get install ocaml-nox -
Alpine
-
apk add ocaml - Arch Linux
-
pacman -S ocaml - Kali Linux
-
apt-get install ocaml-nox - CentOS
-
yum install ocaml - Fedora
-
dnf install ocaml - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install ocaml-nox - OS X
-
brew install ocaml - Raspbian
-
apt-get install ocaml-nox - Docker
-
docker run cmd.cat/ocamlc ocamlcpowered by Commando
The OCaml bytecode compiler. Produces executables runnable by the OCaml interpreter. More information: <https://ocaml.org>.
-
Create a binary from a source file:
ocamlc path/to/source_file.ml -
Create a named binary from a source file:
ocamlc -o path/to/binary path/to/source_file.ml -
Automatically generate a module signature (interface) file:
ocamlc -i path/to/source_file.ml
© tl;dr; authors and contributors