CmdID / Commands
ocamlopt
The OCaml native code compiler. tldr-pages
On several platforms
The OCaml native code compiler. Produces native executables, e.g. ELF on Linux.
Compile a source file
ocamlopt -o path/to/binary path/to/source_file.mlIdentify
Compile with debugging enabled
ocamlopt -g -o path/to/binary path/to/source_file.mlIdentify