ocamlc: add page (#3516)

This commit is contained in:
mira01 2019-12-25 04:44:52 +01:00 committed by Agniva De Sarker
parent ba08862d1c
commit 42805e8ddd

12
pages/common/ocamlc.md Normal file
View 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}}`