ocamlfind
The findlib package manager for OCaml. Simplifies linking executables with external libraries. More information: https://manned.org/ocamlfind.
- Compile a source file to a native binary and link with packages:
ocamlfind ocamlopt -package -linkpkg -o
- Compile a source file to a bytecode binary and link with packages:
ocamlfind ocamlc -package -linkpkg -o
- Cross-compile for a different platform:
ocamlfind -toolchain ocamlopt -o
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
