OCamlOpt: The OCaml native code compiler
ยท
95 words
ยท
1 minute read
What is OCamlOpt? ๐
ocamlopt is the OCaml native code compiler. Produces native executables, e.g. ELF on Linux.
More information: https://manned.org/ocamlopt .
Usage ๐
Compile a source file:
ocamlopt -o path/to/binary path/to/source_file.ml
Compile with debugging enabled:
ocamlopt -g -o path/to/binary 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 .