mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:13:50 +02:00
ocamlc: add page (#3516)
This commit is contained in:
parent
ba08862d1c
commit
42805e8ddd
1 changed files with 12 additions and 0 deletions
12
pages/common/ocamlc.md
Normal file
12
pages/common/ocamlc.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue