CmdID

CmdID / Commands

ocamlfind

The findlib package manager for OCaml. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

The findlib package manager for OCaml. Simplifies linking executables with external libraries.

Compile a source file to a native binary and link with packages

ocamlfind ocamlopt -package package1,package2,... -linkpkg -o path/to/executable path/to/source.mlIdentify

Compile a source file to a bytecode binary and link with packages

ocamlfind ocamlc -package package1,package2,... -linkpkg -o path/to/executable path/to/source.mlIdentify

Cross-compile for a different platform

ocamlfind -toolchain cross-toolchain ocamlopt -o path/to/executable path/to/source.mlIdentify