OCAMLRUN(1) General Commands Manual OCAMLRUN(1) (NAME) ocamlrun - OCaml (SYNOPSIS) ocamlrun [ options ] filename argument ... (DESCRIPTION) ocamlrun(1) (linking) ocamlc(1) . . ( .) Sys.argv OCaml . 0 1 n . ocamlc(1) - (self-executable) ocamlrun(1) . (OPTIONS) ocamlrun(1) : -b (uncaught exception) << >> (backtrace) . -g ocamlc(1) . b OCAMLRUNPARAM ( ). -I dir dir . -m file (magic number) file . -M runtime . -p (primitives) ocamlrun(1) . -t (trace level) runtime ( runtime ). -v (verbose) (stderr). v=63 OCAMLRUNPARAM ( ). -version . -vnum . (ENVIRONMENT VARIABLES) : CAML_LD_LIBRARY_PATH . OCAMLLIB OCaml. ( OCAMLLIB CAMLLIB .) ld.conf . OCaml . OCAMLRUNPARAM (runtime) (garbage collection). ( OCAMLRUNPARAM CAMLRUNPARAM .) . = ( 0x) . 1 . . l,m,M,n,o,s,v control The OCaml user's manual <> <> . b (stack backtrace) . . c (cleanup_on_exit) runtime . (pooling) ( caml_startup_pooled). . d (max_domains) (domains) . . e (runtime_events_log_wsize) (words). . l (stack_limit) ( /word). m (custom_minor_ratio) (floating garbage) (minor heap) . GC . . : caml_alloc_custom_mem ( bigarrays). : 100. M (custom_major_ratio) (major heap) . GC . . . : caml_alloc_custom_mem ( bigarrays). : 44. n (custom_minor_max_size) . custom_minor_ratio custom_major_ratio . : caml_alloc_custom_mem ( bigarrays). : 8192 . o (space_overhead) GC (major GC). p ocamlyacc. (pushdown automaton) . . R (hash tables) ( Hashtbl ). . s (minor_heap_size) ( /word). t runtime ( runtime ). v (verbose) GC stderr . : 0x001 GC . 0x002 GC . 0x004 . 0x008 . 0x010 (Heap compaction). 0x020 GC. 0x040 GC . 0x080 (finalisation). 0x100 ( ). 0x200 . 0x400 GC Gc.print_stat. 0x800 GC. 0x1000 . V (verify_heap) GC . W stderr ( ). kM G 2^10 2^20 2^30 . 1 . bash export OCAMLRUNPARAM='s=256k,v=1' ocamlrun GC . CAMLRUNPARAM OCAMLRUNPARAM CAMLRUNPARAM . CAMLRUNPARAM . PATH . (SEE ALSO) ocamlc(1). The OCaml user's manual <>. OCAMLRUN(1)