ocamlc: add page (#3516)
This commit is contained in:
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}}`
|
Reference in New Issue
Block a user