ocamlc

The OCaml bytecode compiler. Produces executables runnable by the OCaml interpreter. More information: https://ocaml.org.

ocamlc path/to/source_file.ml

ocamlc -o path/to/binary path/to/source_file.ml

ocamlc -i path/to/source_file.ml