OCamlC: The OCaml bytecode compiler
ยท
108 words
ยท
1 minute read
What is OCamlC? ๐
ocamlc is the OCaml bytecode compiler. Produces executables runnable by the OCaml interpreter.
More information: https://manned.org/ocamlc .
Usage ๐
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
Automatically generate a module signature (interface) file:
ocamlc -i path/to/source_file.ml
I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .