mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 12:05:35 +03:00
ocamlc: add page (#3516)
This commit is contained in:
parent
ba08862d1c
commit
42805e8ddd
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…
Reference in New Issue
Block a user