1998-04-06 09:32:57 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml *)
|
1998-04-06 09:32:57 -07:00
|
|
|
(* *)
|
|
|
|
(* Damien Doligez, projet Para, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1998 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1998-04-06 09:32:57 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_a f =
|
|
|
|
"-a", Arg.Unit f, " Build a library"
|
|
|
|
;;
|
|
|
|
|
2011-12-20 02:35:43 -08:00
|
|
|
let mk_absname f =
|
2013-09-04 08:12:37 -07:00
|
|
|
"-absname", Arg.Unit f, " Show absolute filenames in error messages"
|
2011-12-20 02:35:43 -08:00
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_annot f =
|
|
|
|
"-annot", Arg.Unit f, " Save information in <filename>.annot"
|
|
|
|
;;
|
|
|
|
|
2012-05-30 07:52:37 -07:00
|
|
|
let mk_binannot f =
|
|
|
|
"-bin-annot", Arg.Unit f, " Save typedtree in <filename>.cmt"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_c f =
|
|
|
|
"-c", Arg.Unit f, " Compile only (do not link)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_cc f =
|
|
|
|
"-cc", Arg.String f, "<command> Use <command> as the C compiler and linker"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_cclib f =
|
|
|
|
"-cclib", Arg.String f, "<opt> Pass option <opt> to the C linker"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_ccopt f =
|
2013-03-22 11:19:54 -07:00
|
|
|
"-ccopt", Arg.String f,
|
|
|
|
"<opt> Pass option <opt> to the C compiler and linker"
|
2010-04-13 03:44:25 -07:00
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_compact f =
|
|
|
|
"-compact", Arg.Unit f, " Optimize code size rather than speed"
|
|
|
|
;;
|
|
|
|
|
2013-04-18 04:58:59 -07:00
|
|
|
let mk_compat_32 f =
|
2013-09-04 08:12:37 -07:00
|
|
|
"-compat-32", Arg.Unit f,
|
|
|
|
" Check that generated bytecode can run on 32-bit platforms"
|
2013-04-18 04:58:59 -07:00
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_config f =
|
|
|
|
"-config", Arg.Unit f, " Print configuration values and exit"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_custom f =
|
|
|
|
"-custom", Arg.Unit f, " Link in custom mode"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dllib f =
|
|
|
|
"-dllib", Arg.String f, "<lib> Use the dynamically-loaded library <lib>"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dllpath f =
|
|
|
|
"-dllpath", Arg.String f,
|
|
|
|
"<dir> Add <dir> to the run-time search path for shared libraries"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dtypes f =
|
|
|
|
"-dtypes", Arg.Unit f, " (deprecated) same as -annot"
|
|
|
|
;;
|
|
|
|
|
2014-08-07 02:46:34 -07:00
|
|
|
let mk_for_pack_byt f =
|
|
|
|
"-for-pack", Arg.String f,
|
|
|
|
"<ident> Generate code that can later be `packed' with\n\
|
|
|
|
\ ocamlc -pack -o <ident>.cmo"
|
2010-04-13 03:44:25 -07:00
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_for_pack_opt f =
|
|
|
|
"-for-pack", Arg.String f,
|
|
|
|
"<ident> Generate code that can later be `packed' with\n\
|
|
|
|
\ ocamlopt -pack -o <ident>.cmx"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_g_byt f =
|
|
|
|
"-g", Arg.Unit f, " Save debugging information"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_g_opt f =
|
|
|
|
"-g", Arg.Unit f, " Record debugging information for exception backtrace"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_i f =
|
|
|
|
"-i", Arg.Unit f, " Print inferred interface"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_I f =
|
|
|
|
"-I", Arg.String f, "<dir> Add <dir> to the list of include directories"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_impl f =
|
|
|
|
"-impl", Arg.String f, "<file> Compile <file> as a .ml file"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_init f =
|
|
|
|
"-init", Arg.String f, "<file> Load <file> instead of default init file"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_inline f =
|
|
|
|
"-inline", Arg.Int f, "<n> Set aggressiveness of inlining to <n>"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_intf f =
|
|
|
|
"-intf", Arg.String f, "<file> Compile <file> as a .mli file"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_intf_suffix f =
|
|
|
|
"-intf-suffix", Arg.String f,
|
|
|
|
"<string> Suffix for interface files (default: .mli)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_intf_suffix_2 f =
|
|
|
|
"-intf_suffix", Arg.String f, "<string> (deprecated) same as -intf-suffix"
|
|
|
|
;;
|
|
|
|
|
2013-09-17 05:45:05 -07:00
|
|
|
let mk_keep_locs f =
|
|
|
|
"-keep-locs", Arg.Unit f, " Keep locations in .cmi files"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_labels f =
|
|
|
|
"-labels", Arg.Unit f, " Use commuting label mode"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_linkall f =
|
|
|
|
"-linkall", Arg.Unit f, " Link all modules, even unused ones"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_make_runtime f =
|
|
|
|
"-make-runtime", Arg.Unit f,
|
|
|
|
" Build a runtime system with given C objects and libraries"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_make_runtime_2 f =
|
|
|
|
"-make_runtime", Arg.Unit f, " (deprecated) same as -make-runtime"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_modern f =
|
|
|
|
"-modern", Arg.Unit f, " (deprecated) same as -labels"
|
|
|
|
;;
|
|
|
|
|
2014-05-04 19:05:30 -07:00
|
|
|
let mk_no_alias_deps f =
|
|
|
|
"-no-alias-deps", Arg.Unit f,
|
|
|
|
" Do not record dependencies for module aliases"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_no_app_funct f =
|
|
|
|
"-no-app-funct", Arg.Unit f, " Deactivate applicative functors"
|
|
|
|
;;
|
|
|
|
|
2015-04-22 03:53:47 -07:00
|
|
|
let mk_no_check_prims f =
|
|
|
|
"-no-check-prims", Arg.Unit f, " Do not check runtime for primitives"
|
|
|
|
;;
|
|
|
|
|
2014-04-25 01:41:13 -07:00
|
|
|
let mk_no_float_const_prop f =
|
2014-08-22 06:45:02 -07:00
|
|
|
"-no-float-const-prop", Arg.Unit f,
|
|
|
|
" Deactivate constant propagation for floating-point operations"
|
2014-04-25 01:41:13 -07:00
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_noassert f =
|
|
|
|
"-noassert", Arg.Unit f, " Do not compile assertion checks"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_noautolink_byt f =
|
|
|
|
"-noautolink", Arg.Unit f,
|
|
|
|
" Do not automatically link C libraries specified in .cma files"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_noautolink_opt f =
|
|
|
|
"-noautolink", Arg.Unit f,
|
|
|
|
" Do not automatically link C libraries specified in .cmxa files"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_nodynlink f =
|
|
|
|
"-nodynlink", Arg.Unit f,
|
|
|
|
" Enable optimizations for code that will not be dynlinked"
|
|
|
|
;;
|
|
|
|
|
2013-08-04 12:58:09 -07:00
|
|
|
let mk_noinit f =
|
|
|
|
"-noinit", Arg.Unit f,
|
|
|
|
" Do not load any init file"
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_nolabels f =
|
|
|
|
"-nolabels", Arg.Unit f, " Ignore non-optional labels in types"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_noprompt f =
|
|
|
|
"-noprompt", Arg.Unit f, " Suppress all prompts"
|
|
|
|
;;
|
|
|
|
|
2012-01-27 04:48:15 -08:00
|
|
|
let mk_nopromptcont f =
|
|
|
|
"-nopromptcont", Arg.Unit f,
|
|
|
|
" Suppress prompts for continuation lines of multi-line inputs"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_nostdlib f =
|
|
|
|
"-nostdlib", Arg.Unit f,
|
|
|
|
" Do not add default directory to the list of include directories"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_o f =
|
|
|
|
"-o", Arg.String f, "<file> Set output file name to <file>"
|
|
|
|
;;
|
|
|
|
|
2014-05-10 17:17:05 -07:00
|
|
|
let mk_open f =
|
|
|
|
"-open", Arg.String f, "<module> Opens the module <module> before typing"
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_output_obj f =
|
|
|
|
"-output-obj", Arg.Unit f, " Output a C object file instead of an executable"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_p f =
|
|
|
|
"-p", Arg.Unit f,
|
|
|
|
" Compile and link with profiling support for \"gprof\"\n\
|
|
|
|
\ (not supported on all platforms)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_pack_byt f =
|
|
|
|
"-pack", Arg.Unit f, " Package the given .cmo files into one .cmo"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_pack_opt f =
|
|
|
|
"-pack", Arg.Unit f, " Package the given .cmx files into one .cmx"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_pp f =
|
|
|
|
"-pp", Arg.String f, "<command> Pipe sources through preprocessor <command>"
|
|
|
|
;;
|
|
|
|
|
2012-06-13 01:00:27 -07:00
|
|
|
let mk_ppx f =
|
2013-03-22 11:19:54 -07:00
|
|
|
"-ppx", Arg.String f,
|
|
|
|
"<command> Pipe abstract syntax trees through preprocessor <command>"
|
2012-06-13 01:00:27 -07:00
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_principal f =
|
|
|
|
"-principal", Arg.Unit f, " Check principality of type inference"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_rectypes f =
|
|
|
|
"-rectypes", Arg.Unit f, " Allow arbitrary recursive types"
|
|
|
|
;;
|
|
|
|
|
2011-03-17 09:18:05 -07:00
|
|
|
let mk_runtime_variant f =
|
|
|
|
"-runtime-variant", Arg.String f,
|
|
|
|
"<str> Use the <str> variant of the run-time system"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_S f =
|
|
|
|
"-S", Arg.Unit f, " Keep intermediate assembly file"
|
|
|
|
;;
|
|
|
|
|
2014-04-29 04:56:17 -07:00
|
|
|
let mk_safe_string f =
|
|
|
|
"-safe-string", Arg.Unit f, " Make strings immutable"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_shared f =
|
|
|
|
"-shared", Arg.Unit f, " Produce a dynlinkable plugin"
|
|
|
|
;;
|
|
|
|
|
2013-09-04 08:12:37 -07:00
|
|
|
let mk_short_paths f =
|
|
|
|
"-short-paths", Arg.Unit f, " Shorten paths in types"
|
|
|
|
;;
|
|
|
|
|
2011-12-30 08:28:16 -08:00
|
|
|
let mk_stdin f =
|
|
|
|
"-stdin", Arg.Unit f, " Read script from standard input"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_strict_sequence f =
|
|
|
|
"-strict-sequence", Arg.Unit f,
|
|
|
|
" Left-hand part of a sequence must have type unit"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_thread f =
|
|
|
|
"-thread", Arg.Unit f,
|
|
|
|
" Generate code that supports the system threads library"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_unsafe f =
|
|
|
|
"-unsafe", Arg.Unit f,
|
|
|
|
" Do not compile bounds checking on array and string access"
|
|
|
|
;;
|
|
|
|
|
2014-04-29 04:56:17 -07:00
|
|
|
let mk_unsafe_string f =
|
|
|
|
"-unsafe-string", Arg.Unit f, " Make strings mutable (default)"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_use_runtime f =
|
|
|
|
"-use-runtime", Arg.String f,
|
|
|
|
"<file> Generate bytecode for the given runtime system"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_use_runtime_2 f =
|
|
|
|
"-use_runtime", Arg.String f,
|
|
|
|
"<file> (deprecated) same as -use-runtime"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_v f =
|
|
|
|
"-v", Arg.Unit f,
|
|
|
|
" Print compiler version and location of standard library and exit"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_verbose f =
|
|
|
|
"-verbose", Arg.Unit f, " Print calls to external commands"
|
|
|
|
;;
|
|
|
|
|
2013-09-04 08:12:37 -07:00
|
|
|
let mk_version f =
|
|
|
|
"-version", Arg.Unit f, " Print version and exit"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_vmthread f =
|
|
|
|
"-vmthread", Arg.Unit f,
|
|
|
|
" Generate code that supports the threads library with VM-level\n\
|
|
|
|
\ scheduling"
|
|
|
|
;;
|
|
|
|
|
2013-09-04 08:12:37 -07:00
|
|
|
let mk_vnum f =
|
|
|
|
"-vnum", Arg.Unit f, " Print version number and exit"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_w f =
|
|
|
|
"-w", Arg.String f,
|
2010-05-04 10:39:17 -07:00
|
|
|
Printf.sprintf
|
2010-04-13 03:44:25 -07:00
|
|
|
"<list> Enable or disable warnings according to <list>:\n\
|
2010-05-04 10:39:17 -07:00
|
|
|
\ +<spec> enable warnings in <spec>\n\
|
|
|
|
\ -<spec> disable warnings in <spec>\n\
|
|
|
|
\ @<spec> enable warnings in <spec> and treat them as errors\n\
|
|
|
|
\ <spec> can be:\n\
|
|
|
|
\ <num> a single warning number\n\
|
|
|
|
\ <num1>..<num2> a range of consecutive warning numbers\n\
|
|
|
|
\ <letter> a predefined set\n\
|
|
|
|
\ default setting is %S" Warnings.defaults_w
|
2010-04-13 03:44:25 -07:00
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_warn_error f =
|
|
|
|
"-warn-error", Arg.String f,
|
2010-05-04 10:39:17 -07:00
|
|
|
Printf.sprintf
|
2010-04-13 03:44:25 -07:00
|
|
|
"<list> Enable or disable error status for warnings according\n\
|
|
|
|
\ to <list>. See option -w for the syntax of <list>.\n\
|
2010-05-04 10:39:17 -07:00
|
|
|
\ Default setting is %S" Warnings.defaults_warn_error
|
2010-04-13 03:44:25 -07:00
|
|
|
;;
|
|
|
|
|
2010-05-08 13:11:27 -07:00
|
|
|
let mk_warn_help f =
|
2013-09-04 08:12:37 -07:00
|
|
|
"-warn-help", Arg.Unit f, " Show description of warning numbers"
|
2010-05-08 13:11:27 -07:00
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_where f =
|
|
|
|
"-where", Arg.Unit f, " Print location of standard library and exit"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_nopervasives f =
|
|
|
|
"-nopervasives", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_use_prims f =
|
|
|
|
"-use-prims", Arg.String f, "<file> (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dparsetree f =
|
|
|
|
"-dparsetree", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
2012-12-18 09:19:53 -08:00
|
|
|
let mk_dtypedtree f =
|
|
|
|
"-dtypedtree", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_drawlambda f =
|
|
|
|
"-drawlambda", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
2012-10-17 09:09:38 -07:00
|
|
|
let mk_dsource f =
|
|
|
|
"-dsource", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_dlambda f =
|
|
|
|
"-dlambda", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
2012-02-21 09:41:02 -08:00
|
|
|
let mk_dclambda f =
|
|
|
|
"-dclambda", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_dinstr f =
|
|
|
|
"-dinstr", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dcmm f =
|
|
|
|
"-dcmm", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dsel f =
|
|
|
|
"-dsel", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dcombine f =
|
|
|
|
"-dcombine", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
2014-04-26 03:40:22 -07:00
|
|
|
let mk_dcse f =
|
|
|
|
"-dcse", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk_dlive f =
|
|
|
|
"-dlive", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dspill f =
|
|
|
|
"-dspill", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dsplit f =
|
|
|
|
"-dsplit", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dinterf f =
|
|
|
|
"-dinterf", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dprefer f =
|
|
|
|
"-dprefer", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dalloc f =
|
|
|
|
"-dalloc", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dreload f =
|
|
|
|
"-dreload", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dscheduling f =
|
|
|
|
"-dscheduling", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dlinear f =
|
|
|
|
"-dlinear", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
|
|
|
let mk_dstartup f =
|
|
|
|
"-dstartup", Arg.Unit f, " (undocumented)"
|
|
|
|
;;
|
|
|
|
|
2014-08-18 06:28:34 -07:00
|
|
|
let mk_opaque f =
|
|
|
|
"-opaque", Arg.Unit f,
|
|
|
|
" Does not generate cross-module optimization information\n\
|
|
|
|
\ (reduces necessary recompilation on module change)"
|
|
|
|
;;
|
|
|
|
|
2014-08-29 10:14:00 -07:00
|
|
|
let mk_strict_formats f =
|
|
|
|
"-strict-formats", Arg.Unit f,
|
|
|
|
" Reject invalid formats accepted by legacy implementations\n\
|
|
|
|
\ (Warning: Invalid formats may behave differently from\n\
|
|
|
|
\ previous OCaml versions, and will become always-rejected\n\
|
|
|
|
\ in future OCaml versions. You should use this flag\n\
|
|
|
|
\ to detect and fix invalid formats.)"
|
|
|
|
;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
let mk__ f =
|
|
|
|
"-", Arg.String f,
|
|
|
|
"<file> Treat <file> as a file name (even if it starts with `-')"
|
|
|
|
;;
|
|
|
|
|
2014-05-04 19:05:30 -07:00
|
|
|
module type Common_options = sig
|
2011-12-20 02:35:43 -08:00
|
|
|
val _absname : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _I : string -> unit
|
|
|
|
val _labels : unit -> unit
|
2014-05-04 19:05:30 -07:00
|
|
|
val _no_alias_deps : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _no_app_funct : unit -> unit
|
|
|
|
val _noassert : unit -> unit
|
|
|
|
val _nolabels : unit -> unit
|
|
|
|
val _nostdlib : unit -> unit
|
2014-05-10 17:17:05 -07:00
|
|
|
val _open : string -> unit
|
2012-06-13 01:00:27 -07:00
|
|
|
val _ppx : string -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _principal : unit -> unit
|
|
|
|
val _rectypes : unit -> unit
|
2014-04-29 04:56:17 -07:00
|
|
|
val _safe_string : unit -> unit
|
2013-09-04 08:12:37 -07:00
|
|
|
val _short_paths : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _strict_sequence : unit -> unit
|
2014-08-29 10:14:00 -07:00
|
|
|
val _strict_formats : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _unsafe : unit -> unit
|
2014-04-29 04:56:17 -07:00
|
|
|
val _unsafe_string : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _version : unit -> unit
|
2010-05-20 07:06:29 -07:00
|
|
|
val _vnum : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _w : string -> unit
|
|
|
|
val _warn_error : string -> unit
|
2010-05-08 13:11:27 -07:00
|
|
|
val _warn_help : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
|
2012-10-17 09:09:38 -07:00
|
|
|
val _dsource : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _dparsetree : unit -> unit
|
2012-12-18 09:19:53 -08:00
|
|
|
val _dtypedtree : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _drawlambda : unit -> unit
|
|
|
|
val _dlambda : unit -> unit
|
|
|
|
|
|
|
|
val anonymous : string -> unit
|
|
|
|
end;;
|
|
|
|
|
2014-10-15 06:34:58 -07:00
|
|
|
module type Compiler_options = sig
|
2010-04-13 03:44:25 -07:00
|
|
|
val _a : unit -> unit
|
|
|
|
val _annot : unit -> unit
|
2012-05-30 07:52:37 -07:00
|
|
|
val _binannot : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _c : unit -> unit
|
|
|
|
val _cc : string -> unit
|
|
|
|
val _cclib : string -> unit
|
|
|
|
val _ccopt : string -> unit
|
|
|
|
val _config : unit -> unit
|
2014-08-07 02:46:34 -07:00
|
|
|
val _for_pack : string -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _g : unit -> unit
|
|
|
|
val _i : unit -> unit
|
|
|
|
val _impl : string -> unit
|
|
|
|
val _intf : string -> unit
|
|
|
|
val _intf_suffix : string -> unit
|
2013-09-17 05:45:05 -07:00
|
|
|
val _keep_locs : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _linkall : unit -> unit
|
|
|
|
val _noautolink : unit -> unit
|
|
|
|
val _o : string -> unit
|
|
|
|
val _output_obj : unit -> unit
|
|
|
|
val _pack : unit -> unit
|
|
|
|
val _pp : string -> unit
|
|
|
|
val _principal : unit -> unit
|
|
|
|
val _rectypes : unit -> unit
|
2011-03-17 09:18:05 -07:00
|
|
|
val _runtime_variant : string -> unit
|
2014-04-29 04:56:17 -07:00
|
|
|
val _safe_string : unit -> unit
|
2013-09-04 08:12:37 -07:00
|
|
|
val _short_paths : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _thread : unit -> unit
|
|
|
|
val _v : unit -> unit
|
2013-09-04 08:12:37 -07:00
|
|
|
val _verbose : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _where : unit -> unit
|
|
|
|
val _nopervasives : unit -> unit
|
2014-05-04 19:05:30 -07:00
|
|
|
end
|
|
|
|
;;
|
2010-04-13 03:44:25 -07:00
|
|
|
|
2014-05-04 19:05:30 -07:00
|
|
|
module type Bytecomp_options = sig
|
|
|
|
include Common_options
|
|
|
|
include Compiler_options
|
|
|
|
val _compat_32 : unit -> unit
|
|
|
|
val _custom : unit -> unit
|
2015-04-22 03:53:47 -07:00
|
|
|
val _no_check_prims : unit -> unit
|
2014-05-04 19:05:30 -07:00
|
|
|
val _dllib : string -> unit
|
|
|
|
val _dllpath : string -> unit
|
|
|
|
val _make_runtime : unit -> unit
|
|
|
|
val _vmthread : unit -> unit
|
|
|
|
val _use_runtime : string -> unit
|
|
|
|
|
|
|
|
val _dinstr : unit -> unit
|
|
|
|
|
|
|
|
val _use_prims : string -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
end;;
|
|
|
|
|
2014-05-04 19:05:30 -07:00
|
|
|
module type Bytetop_options = sig
|
|
|
|
include Common_options
|
2010-04-13 03:44:25 -07:00
|
|
|
val _init : string -> unit
|
2013-08-04 12:58:09 -07:00
|
|
|
val _noinit : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _noprompt : unit -> unit
|
2012-01-27 04:48:15 -08:00
|
|
|
val _nopromptcont : unit -> unit
|
2011-12-30 08:28:16 -08:00
|
|
|
val _stdin : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
|
2014-05-04 19:05:30 -07:00
|
|
|
val _dinstr : unit -> unit
|
|
|
|
end;;
|
|
|
|
|
|
|
|
module type Optcommon_options = sig
|
|
|
|
val _compact : unit -> unit
|
|
|
|
val _inline : int -> unit
|
|
|
|
|
2012-02-21 09:41:02 -08:00
|
|
|
val _dclambda : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _dcmm : unit -> unit
|
|
|
|
val _dsel : unit -> unit
|
|
|
|
val _dcombine : unit -> unit
|
2014-04-26 03:40:22 -07:00
|
|
|
val _dcse : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
val _dlive : unit -> unit
|
|
|
|
val _dspill : unit -> unit
|
|
|
|
val _dsplit : unit -> unit
|
|
|
|
val _dinterf : unit -> unit
|
|
|
|
val _dprefer : unit -> unit
|
|
|
|
val _dalloc : unit -> unit
|
|
|
|
val _dreload : unit -> unit
|
|
|
|
val _dscheduling : unit -> unit
|
|
|
|
val _dlinear : unit -> unit
|
|
|
|
val _dstartup : unit -> unit
|
2014-05-04 19:05:30 -07:00
|
|
|
end;;
|
2010-04-13 03:44:25 -07:00
|
|
|
|
2014-05-04 19:05:30 -07:00
|
|
|
module type Optcomp_options = sig
|
|
|
|
include Common_options
|
|
|
|
include Compiler_options
|
|
|
|
include Optcommon_options
|
|
|
|
val _no_float_const_prop : unit -> unit
|
|
|
|
val _nodynlink : unit -> unit
|
|
|
|
val _p : unit -> unit
|
|
|
|
val _pp : string -> unit
|
|
|
|
val _S : unit -> unit
|
|
|
|
val _shared : unit -> unit
|
2014-08-18 06:28:34 -07:00
|
|
|
val _opaque : unit -> unit
|
2014-05-04 19:05:30 -07:00
|
|
|
end;;
|
|
|
|
|
|
|
|
module type Opttop_options = sig
|
|
|
|
include Common_options
|
|
|
|
include Optcommon_options
|
|
|
|
val _init : string -> unit
|
|
|
|
val _noinit : unit -> unit
|
|
|
|
val _noprompt : unit -> unit
|
|
|
|
val _nopromptcont : unit -> unit
|
|
|
|
val _S : unit -> unit
|
|
|
|
val _stdin : unit -> unit
|
2010-04-13 03:44:25 -07:00
|
|
|
end;;
|
|
|
|
|
2014-10-15 06:34:58 -07:00
|
|
|
module type Ocamldoc_options = sig
|
|
|
|
include Common_options
|
|
|
|
val _impl : string -> unit
|
|
|
|
val _intf : string -> unit
|
|
|
|
val _intf_suffix : string -> unit
|
|
|
|
val _pp : string -> unit
|
|
|
|
val _principal : unit -> unit
|
|
|
|
val _rectypes : unit -> unit
|
|
|
|
val _safe_string : unit -> unit
|
|
|
|
val _short_paths : unit -> unit
|
|
|
|
val _thread : unit -> unit
|
|
|
|
val _v : unit -> unit
|
|
|
|
val _verbose : unit -> unit
|
|
|
|
val _vmthread : unit -> unit
|
|
|
|
end;;
|
|
|
|
|
2010-04-13 03:44:25 -07:00
|
|
|
module type Arg_list = sig
|
|
|
|
val list : (string * Arg.spec * string) list
|
|
|
|
end;;
|
|
|
|
|
|
|
|
module Make_bytecomp_options (F : Bytecomp_options) =
|
1998-04-06 09:32:57 -07:00
|
|
|
struct
|
|
|
|
let list = [
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_a F._a;
|
2011-12-20 02:35:43 -08:00
|
|
|
mk_absname F._absname;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_annot F._annot;
|
2012-05-30 07:52:37 -07:00
|
|
|
mk_binannot F._binannot;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_c F._c;
|
|
|
|
mk_cc F._cc;
|
|
|
|
mk_cclib F._cclib;
|
|
|
|
mk_ccopt F._ccopt;
|
2013-04-18 04:58:59 -07:00
|
|
|
mk_compat_32 F._compat_32;
|
2013-09-04 08:12:37 -07:00
|
|
|
mk_config F._config;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_custom F._custom;
|
2015-04-22 03:53:47 -07:00
|
|
|
mk_custom F._no_check_prims;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dllib F._dllib;
|
|
|
|
mk_dllpath F._dllpath;
|
|
|
|
mk_dtypes F._annot;
|
2014-08-07 02:46:34 -07:00
|
|
|
mk_for_pack_byt F._for_pack;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_g_byt F._g;
|
|
|
|
mk_i F._i;
|
|
|
|
mk_I F._I;
|
|
|
|
mk_impl F._impl;
|
|
|
|
mk_intf F._intf;
|
|
|
|
mk_intf_suffix F._intf_suffix;
|
|
|
|
mk_intf_suffix_2 F._intf_suffix;
|
2013-09-17 05:45:05 -07:00
|
|
|
mk_keep_locs F._keep_locs;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_labels F._labels;
|
|
|
|
mk_linkall F._linkall;
|
|
|
|
mk_make_runtime F._make_runtime;
|
|
|
|
mk_make_runtime_2 F._make_runtime;
|
|
|
|
mk_modern F._labels;
|
2014-05-04 19:05:30 -07:00
|
|
|
mk_no_alias_deps F._no_alias_deps;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_no_app_funct F._no_app_funct;
|
2015-04-22 03:53:47 -07:00
|
|
|
mk_no_check_prims F._no_check_prims;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_noassert F._noassert;
|
|
|
|
mk_noautolink_byt F._noautolink;
|
|
|
|
mk_nolabels F._nolabels;
|
|
|
|
mk_nostdlib F._nostdlib;
|
|
|
|
mk_o F._o;
|
2014-05-12 01:40:54 -07:00
|
|
|
mk_open F._open;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_output_obj F._output_obj;
|
|
|
|
mk_pack_byt F._pack;
|
|
|
|
mk_pp F._pp;
|
2012-06-13 01:00:27 -07:00
|
|
|
mk_ppx F._ppx;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_principal F._principal;
|
|
|
|
mk_rectypes F._rectypes;
|
2011-03-17 09:18:05 -07:00
|
|
|
mk_runtime_variant F._runtime_variant;
|
2014-04-29 04:56:17 -07:00
|
|
|
mk_safe_string F._safe_string;
|
2013-09-04 08:12:37 -07:00
|
|
|
mk_short_paths F._short_paths;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_strict_sequence F._strict_sequence;
|
2014-08-29 10:14:00 -07:00
|
|
|
mk_strict_formats F._strict_formats;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_thread F._thread;
|
|
|
|
mk_unsafe F._unsafe;
|
2014-04-29 04:56:17 -07:00
|
|
|
mk_unsafe_string F._unsafe_string;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_use_runtime F._use_runtime;
|
|
|
|
mk_use_runtime_2 F._use_runtime;
|
|
|
|
mk_v F._v;
|
|
|
|
mk_verbose F._verbose;
|
2013-09-04 08:12:37 -07:00
|
|
|
mk_version F._version;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_vmthread F._vmthread;
|
2013-09-04 08:12:37 -07:00
|
|
|
mk_vnum F._vnum;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_w F._w;
|
|
|
|
mk_warn_error F._warn_error;
|
2010-05-08 13:11:27 -07:00
|
|
|
mk_warn_help F._warn_help;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_where F._where;
|
2014-04-04 10:32:35 -07:00
|
|
|
mk__ F.anonymous;
|
2010-04-13 03:44:25 -07:00
|
|
|
|
|
|
|
mk_nopervasives F._nopervasives;
|
|
|
|
mk_use_prims F._use_prims;
|
2012-10-17 09:09:38 -07:00
|
|
|
mk_dsource F._dsource;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dparsetree F._dparsetree;
|
2012-12-18 09:19:53 -08:00
|
|
|
mk_dtypedtree F._dtypedtree;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_drawlambda F._drawlambda;
|
|
|
|
mk_dlambda F._dlambda;
|
|
|
|
mk_dinstr F._dinstr;
|
|
|
|
]
|
|
|
|
end;;
|
|
|
|
|
|
|
|
module Make_bytetop_options (F : Bytetop_options) =
|
|
|
|
struct
|
|
|
|
let list = [
|
2011-12-20 02:35:43 -08:00
|
|
|
mk_absname F._absname;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_I F._I;
|
|
|
|
mk_init F._init;
|
|
|
|
mk_labels F._labels;
|
2014-05-04 19:05:30 -07:00
|
|
|
mk_no_alias_deps F._no_alias_deps;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_no_app_funct F._no_app_funct;
|
|
|
|
mk_noassert F._noassert;
|
2013-08-04 12:58:09 -07:00
|
|
|
mk_noinit F._noinit;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_nolabels F._nolabels;
|
|
|
|
mk_noprompt F._noprompt;
|
2012-01-27 04:48:15 -08:00
|
|
|
mk_nopromptcont F._nopromptcont;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_nostdlib F._nostdlib;
|
2014-05-12 05:02:26 -07:00
|
|
|
mk_open F._open;
|
2013-01-25 01:12:31 -08:00
|
|
|
mk_ppx F._ppx;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_principal F._principal;
|
|
|
|
mk_rectypes F._rectypes;
|
2014-04-29 04:56:17 -07:00
|
|
|
mk_safe_string F._safe_string;
|
2013-09-04 08:12:37 -07:00
|
|
|
mk_short_paths F._short_paths;
|
2011-12-30 08:28:16 -08:00
|
|
|
mk_stdin F._stdin;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_strict_sequence F._strict_sequence;
|
2014-08-29 10:14:00 -07:00
|
|
|
mk_strict_formats F._strict_formats;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_unsafe F._unsafe;
|
2014-04-29 04:56:17 -07:00
|
|
|
mk_unsafe_string F._unsafe_string;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_version F._version;
|
2010-05-20 07:06:29 -07:00
|
|
|
mk_vnum F._vnum;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_w F._w;
|
|
|
|
mk_warn_error F._warn_error;
|
2010-05-08 13:11:27 -07:00
|
|
|
mk_warn_help F._warn_help;
|
2014-04-04 10:32:35 -07:00
|
|
|
mk__ F.anonymous;
|
2010-04-13 03:44:25 -07:00
|
|
|
|
2012-10-17 09:09:38 -07:00
|
|
|
mk_dsource F._dsource;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dparsetree F._dparsetree;
|
2012-12-18 09:19:53 -08:00
|
|
|
mk_dtypedtree F._dtypedtree;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_drawlambda F._drawlambda;
|
|
|
|
mk_dlambda F._dlambda;
|
|
|
|
mk_dinstr F._dinstr;
|
|
|
|
]
|
|
|
|
end;;
|
|
|
|
|
|
|
|
module Make_optcomp_options (F : Optcomp_options) =
|
|
|
|
struct
|
|
|
|
let list = [
|
|
|
|
mk_a F._a;
|
2011-12-20 02:35:43 -08:00
|
|
|
mk_absname F._absname;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_annot F._annot;
|
2012-05-30 07:52:37 -07:00
|
|
|
mk_binannot F._binannot;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_c F._c;
|
|
|
|
mk_cc F._cc;
|
|
|
|
mk_cclib F._cclib;
|
|
|
|
mk_ccopt F._ccopt;
|
|
|
|
mk_compact F._compact;
|
|
|
|
mk_config F._config;
|
|
|
|
mk_dtypes F._annot;
|
|
|
|
mk_for_pack_opt F._for_pack;
|
|
|
|
mk_g_opt F._g;
|
|
|
|
mk_i F._i;
|
|
|
|
mk_I F._I;
|
|
|
|
mk_impl F._impl;
|
|
|
|
mk_inline F._inline;
|
|
|
|
mk_intf F._intf;
|
|
|
|
mk_intf_suffix F._intf_suffix;
|
2013-09-17 05:45:05 -07:00
|
|
|
mk_keep_locs F._keep_locs;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_labels F._labels;
|
|
|
|
mk_linkall F._linkall;
|
2014-05-04 19:05:30 -07:00
|
|
|
mk_no_alias_deps F._no_alias_deps;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_no_app_funct F._no_app_funct;
|
2014-04-25 01:41:13 -07:00
|
|
|
mk_no_float_const_prop F._no_float_const_prop;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_noassert F._noassert;
|
|
|
|
mk_noautolink_opt F._noautolink;
|
|
|
|
mk_nodynlink F._nodynlink;
|
|
|
|
mk_nolabels F._nolabels;
|
|
|
|
mk_nostdlib F._nostdlib;
|
|
|
|
mk_o F._o;
|
2014-05-12 01:40:54 -07:00
|
|
|
mk_open F._open;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_output_obj F._output_obj;
|
|
|
|
mk_p F._p;
|
|
|
|
mk_pack_opt F._pack;
|
|
|
|
mk_pp F._pp;
|
2012-06-13 01:00:27 -07:00
|
|
|
mk_ppx F._ppx;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_principal F._principal;
|
|
|
|
mk_rectypes F._rectypes;
|
2011-03-17 09:18:05 -07:00
|
|
|
mk_runtime_variant F._runtime_variant;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_S F._S;
|
2014-04-29 04:56:17 -07:00
|
|
|
mk_safe_string F._safe_string;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_shared F._shared;
|
2013-09-04 08:12:37 -07:00
|
|
|
mk_short_paths F._short_paths;
|
|
|
|
mk_strict_sequence F._strict_sequence;
|
2014-08-29 10:14:00 -07:00
|
|
|
mk_strict_formats F._strict_formats;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_thread F._thread;
|
|
|
|
mk_unsafe F._unsafe;
|
2014-04-29 04:56:17 -07:00
|
|
|
mk_unsafe_string F._unsafe_string;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_v F._v;
|
2013-09-04 08:12:37 -07:00
|
|
|
mk_verbose F._verbose;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_version F._version;
|
2010-05-20 07:06:29 -07:00
|
|
|
mk_vnum F._vnum;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_w F._w;
|
|
|
|
mk_warn_error F._warn_error;
|
2010-05-08 13:11:27 -07:00
|
|
|
mk_warn_help F._warn_help;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_where F._where;
|
2014-04-04 10:32:35 -07:00
|
|
|
mk__ F.anonymous;
|
2010-04-13 03:44:25 -07:00
|
|
|
|
|
|
|
mk_nopervasives F._nopervasives;
|
2012-10-17 09:09:38 -07:00
|
|
|
mk_dsource F._dsource;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dparsetree F._dparsetree;
|
2012-12-18 09:19:53 -08:00
|
|
|
mk_dtypedtree F._dtypedtree;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_drawlambda F._drawlambda;
|
2010-08-02 07:37:22 -07:00
|
|
|
mk_dlambda F._dlambda;
|
2012-02-21 09:41:02 -08:00
|
|
|
mk_dclambda F._dclambda;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dcmm F._dcmm;
|
|
|
|
mk_dsel F._dsel;
|
|
|
|
mk_dcombine F._dcombine;
|
2014-04-26 03:40:22 -07:00
|
|
|
mk_dcse F._dcse;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dlive F._dlive;
|
|
|
|
mk_dspill F._dspill;
|
2012-02-21 09:41:02 -08:00
|
|
|
mk_dsplit F._dsplit;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dinterf F._dinterf;
|
|
|
|
mk_dprefer F._dprefer;
|
|
|
|
mk_dalloc F._dalloc;
|
|
|
|
mk_dreload F._dreload;
|
|
|
|
mk_dscheduling F._dscheduling;
|
|
|
|
mk_dlinear F._dlinear;
|
|
|
|
mk_dstartup F._dstartup;
|
2014-08-18 06:28:34 -07:00
|
|
|
mk_opaque F._opaque;
|
2010-04-13 03:44:25 -07:00
|
|
|
]
|
|
|
|
end;;
|
|
|
|
|
|
|
|
module Make_opttop_options (F : Opttop_options) = struct
|
|
|
|
let list = [
|
2011-12-20 02:35:43 -08:00
|
|
|
mk_absname F._absname;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_compact F._compact;
|
|
|
|
mk_I F._I;
|
|
|
|
mk_init F._init;
|
|
|
|
mk_inline F._inline;
|
|
|
|
mk_labels F._labels;
|
2014-05-04 19:05:30 -07:00
|
|
|
mk_no_alias_deps F._no_alias_deps;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_no_app_funct F._no_app_funct;
|
|
|
|
mk_noassert F._noassert;
|
2013-08-04 12:58:09 -07:00
|
|
|
mk_noinit F._noinit;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_nolabels F._nolabels;
|
|
|
|
mk_noprompt F._noprompt;
|
2012-01-27 04:48:15 -08:00
|
|
|
mk_nopromptcont F._nopromptcont;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_nostdlib F._nostdlib;
|
2014-05-12 05:02:26 -07:00
|
|
|
mk_open F._open;
|
2013-01-25 01:12:31 -08:00
|
|
|
mk_ppx F._ppx;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_principal F._principal;
|
|
|
|
mk_rectypes F._rectypes;
|
|
|
|
mk_S F._S;
|
2014-04-29 04:56:17 -07:00
|
|
|
mk_safe_string F._safe_string;
|
2013-09-04 08:12:37 -07:00
|
|
|
mk_short_paths F._short_paths;
|
2011-12-30 08:28:16 -08:00
|
|
|
mk_stdin F._stdin;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_strict_sequence F._strict_sequence;
|
2014-08-29 10:14:00 -07:00
|
|
|
mk_strict_formats F._strict_formats;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_unsafe F._unsafe;
|
2014-04-29 04:56:17 -07:00
|
|
|
mk_unsafe_string F._unsafe_string;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_version F._version;
|
2010-05-20 07:06:29 -07:00
|
|
|
mk_vnum F._vnum;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_w F._w;
|
|
|
|
mk_warn_error F._warn_error;
|
2010-05-08 13:11:27 -07:00
|
|
|
mk_warn_help F._warn_help;
|
2014-04-04 10:32:35 -07:00
|
|
|
mk__ F.anonymous;
|
2010-04-13 03:44:25 -07:00
|
|
|
|
2012-10-17 09:09:38 -07:00
|
|
|
mk_dsource F._dsource;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dparsetree F._dparsetree;
|
2012-12-18 09:19:53 -08:00
|
|
|
mk_dtypedtree F._dtypedtree;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_drawlambda F._drawlambda;
|
2012-02-21 09:41:02 -08:00
|
|
|
mk_dclambda F._dclambda;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dcmm F._dcmm;
|
|
|
|
mk_dsel F._dsel;
|
|
|
|
mk_dcombine F._dcombine;
|
2014-04-26 03:40:22 -07:00
|
|
|
mk_dcse F._dcse;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dlive F._dlive;
|
|
|
|
mk_dspill F._dspill;
|
2012-02-21 09:41:02 -08:00
|
|
|
mk_dsplit F._dsplit;
|
2010-04-13 03:44:25 -07:00
|
|
|
mk_dinterf F._dinterf;
|
|
|
|
mk_dprefer F._dprefer;
|
|
|
|
mk_dalloc F._dalloc;
|
|
|
|
mk_dreload F._dreload;
|
|
|
|
mk_dscheduling F._dscheduling;
|
|
|
|
mk_dlinear F._dlinear;
|
|
|
|
mk_dstartup F._dstartup;
|
1998-04-06 09:32:57 -07:00
|
|
|
]
|
|
|
|
end;;
|
2014-10-15 06:34:58 -07:00
|
|
|
|
|
|
|
module Make_ocamldoc_options (F : Ocamldoc_options) =
|
|
|
|
struct
|
|
|
|
let list = [
|
|
|
|
mk_absname F._absname;
|
|
|
|
mk_I F._I;
|
|
|
|
mk_impl F._impl;
|
|
|
|
mk_intf F._intf;
|
|
|
|
mk_intf_suffix F._intf_suffix;
|
|
|
|
mk_intf_suffix_2 F._intf_suffix;
|
|
|
|
mk_labels F._labels;
|
|
|
|
mk_modern F._labels;
|
|
|
|
mk_no_alias_deps F._no_alias_deps;
|
|
|
|
mk_no_app_funct F._no_app_funct;
|
|
|
|
mk_noassert F._noassert;
|
|
|
|
mk_nolabels F._nolabels;
|
|
|
|
mk_nostdlib F._nostdlib;
|
|
|
|
mk_open F._open;
|
|
|
|
mk_pp F._pp;
|
|
|
|
mk_ppx F._ppx;
|
|
|
|
mk_principal F._principal;
|
|
|
|
mk_rectypes F._rectypes;
|
|
|
|
mk_safe_string F._safe_string;
|
|
|
|
mk_short_paths F._short_paths;
|
|
|
|
mk_strict_sequence F._strict_sequence;
|
|
|
|
mk_strict_formats F._strict_formats;
|
|
|
|
mk_thread F._thread;
|
|
|
|
mk_unsafe_string F._unsafe_string;
|
|
|
|
mk_v F._v;
|
|
|
|
mk_verbose F._verbose;
|
|
|
|
mk_version F._version;
|
|
|
|
mk_vmthread F._vmthread;
|
|
|
|
mk_vnum F._vnum;
|
|
|
|
mk_w F._w;
|
|
|
|
mk__ F.anonymous;
|
|
|
|
]
|
|
|
|
end;;
|