1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-28 23:04:54 +02:00
tldr/pages/common/ocamlc.md
2019-12-25 09:14:52 +05:30

12 lines
279 B
Markdown

# ocamlc
> The OCaml bytecode compiler.
> Produces executables runnable by the OCaml interpreter.
- 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}}`