OS Manuals

/usr/lib/ocaml-4/bin/ocamlruni

The core OCaml 4 system: compilers, runtime system, base libraries

From ocaml-4 4.14.5-r0 (enterprise-packages), captured 2026-11-08 by running ocamlruni --help (exit 0). permalink

Usage: ocamlrun [<options>] [--] <executable> [<command-line>]
Options are:
  -b  Set runtime parameter b (detailed exception backtraces)
  -config  Print configuration values and exit
  -I <dir>  Add <dir> to the list of DLL search directories
  -m  Print the magic number of <executable> and exit
  -M  Print the magic number expected by this runtime and exit
  -p  Print the names of the primitives known to this runtime
  -t  Trace the execution of the bytecode interpreter (specify multiple
      times to increase verbosity)
  -v  Set runtime parameter v=61 (GC event information)
  -version  Print version string and exit
  -vnum  Print short version number and exit
  -help  Display this list of options
  --help  Display this list of options
Options (12)
OptionDescriptionSource
-bSet runtime parameter b (detailed exception backtraces)help
-configPrint configuration values and exithelp
-I dirAdd <dir> to the list of DLL search directorieshelp
-mPrint the magic number of <executable> and exithelp
-MPrint the magic number expected by this runtime and exithelp
-pPrint the names of the primitives known to this runtimehelp
-tTrace the execution of the bytecode interpreter (specify multiple times to increase verbosity)help
-vSet runtime parameter v=61 (GC event information)help
-versionPrint version string and exithelp
-vnumPrint short version number and exithelp
-helpDisplay this list of optionshelp
--helpDisplay this list of optionshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.