(**************************************************************************) (* *) (* OCaml *) (* *) (* Damien Doligez, projet Para, INRIA Rocquencourt *) (* *) (* Copyright 1998 Institut National de Recherche en Informatique et *) (* en Automatique. *) (* *) (* All rights reserved. This file is distributed under the terms of *) (* the GNU Lesser General Public License version 2.1, with the *) (* special exception on linking described in the file LICENSE. *) (* *) (**************************************************************************) let mk_a f = "-a", Arg.Unit f, " Build a library" ;; let mk_alert f = "-alert", Arg.String f, Printf.sprintf " Enable or disable alerts according to :\n\ \ + enable alert \n\ \ - disable alert \n\ \ ++ treat as fatal error\n\ \ -- treat as non-fatal\n\ \ @ enable and treat it as fatal error\n\ \ can be 'all' to refer to all alert names";; let mk_absname f = "-absname", Arg.Unit f, " Show absolute filenames in error messages" ;; let mk_annot f = "-annot", Arg.Unit f, " (deprecated) Save information in .annot" ;; let mk_binannot f = "-bin-annot", Arg.Unit f, " Save typedtree in .cmt" ;; let mk_c f = "-c", Arg.Unit f, " Compile only (do not link)" ;; let mk_cc f = "-cc", Arg.String f, " Use as the C compiler and linker" ;; let mk_cclib f = "-cclib", Arg.String f, " Pass option to the C linker" ;; let mk_ccopt f = "-ccopt", Arg.String f, " Pass option to the C compiler and linker" ;; let mk_clambda_checks f = "-clambda-checks", Arg.Unit f, " Instrument clambda code with closure and \ field access checks (for debugging the compiler)" ;; let mk_compact f = "-compact", Arg.Unit f, " Optimize code size rather than speed" ;; let mk_compat_32 f = "-compat-32", Arg.Unit f, " Check that generated bytecode can run on 32-bit platforms" ;; let mk_config f = "-config", Arg.Unit f, " Print configuration values and exit" ;; let mk_config_var f = "-config-var", Arg.String f, " Print the value of a configuration variable, without a newline, and exit\n\ \ (print nothing and exit with error value if the variable does not exist)" ;; let mk_custom f = "-custom", Arg.Unit f, " Link in custom mode" ;; let mk_dllib f = "-dllib", Arg.String f, " Use the dynamically-loaded library " ;; let mk_dllpath f = "-dllpath", Arg.String f, " Add to the run-time search path for shared libraries" ;; let mk_eval f = "-e", Arg.String f, "