Forrest logo
back to context overview

ocamlopt

List of commands for ocamlopt:

  • ocamlopt:tldr:3442f ocamlopt: Compile a source file.
    $ ocamlopt -o ${path-to-binary} ${path-to-source_file-ml}
    try on your machine
    explain this command
  • ocamlopt:tldr:fcd11 ocamlopt: Compile with debugging enabled.
    $ ocamlopt -g -o ${path-to-binary} ${path-to-source_file-ml}
    try on your machine
    explain this command
back to context overview