1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Copyright 1996 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. *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
(* System configuration *)
|
|
|
|
|
|
|
|
val version: string
|
|
|
|
(* The current version number of the system *)
|
|
|
|
|
|
|
|
val standard_library: string
|
|
|
|
(* The directory containing the standard libraries *)
|
1998-04-14 07:48:34 -07:00
|
|
|
val standard_runtime: string
|
|
|
|
(* The full path to the standard bytecode interpreter ocamlrun *)
|
2002-06-07 02:49:45 -07:00
|
|
|
val ccomp_type: string
|
2011-12-16 09:02:48 -08:00
|
|
|
(* The "kind" of the C compiler, assembler and linker used: one of
|
2002-06-07 02:49:45 -07:00
|
|
|
"cc" (for Unix-style C compilers)
|
2011-12-16 09:02:48 -08:00
|
|
|
"msvc" (for Microsoft Visual C++ and MASM) *)
|
1995-07-18 01:42:01 -07:00
|
|
|
val bytecomp_c_compiler: string
|
2010-01-22 04:48:24 -08:00
|
|
|
(* The C compiler to use for compiling C files
|
2000-04-16 07:34:58 -07:00
|
|
|
with the bytecode compiler *)
|
2000-10-27 08:18:24 -07:00
|
|
|
val bytecomp_c_libraries: string
|
|
|
|
(* The C libraries to link with custom runtimes *)
|
1995-07-18 01:42:01 -07:00
|
|
|
val native_c_compiler: string
|
2010-01-22 04:48:24 -08:00
|
|
|
(* The C compiler to use for compiling C files
|
2000-04-16 07:34:58 -07:00
|
|
|
with the native-code compiler *)
|
2000-10-27 08:18:24 -07:00
|
|
|
val native_c_libraries: string
|
|
|
|
(* The C libraries to link with native-code programs *)
|
2003-07-03 08:13:23 -07:00
|
|
|
val native_pack_linker: string
|
2007-11-15 08:09:57 -08:00
|
|
|
(* The linker to use for packaging (ocamlopt -pack) and for partial links
|
|
|
|
(ocamlopt -output-obj). *)
|
2007-11-15 05:21:15 -08:00
|
|
|
val mkdll: string
|
2007-11-12 09:20:38 -08:00
|
|
|
(* The linker command line to build dynamic libraries. *)
|
2007-11-15 05:21:15 -08:00
|
|
|
val mkexe: string
|
2007-11-15 07:18:28 -08:00
|
|
|
(* The linker command line to build executables. *)
|
|
|
|
val mkmaindll: string
|
|
|
|
(* The linker command line to build main programs as dlls. *)
|
1996-11-07 03:01:32 -08:00
|
|
|
val ranlib: string
|
|
|
|
(* Command to randomize a library, or "" if not needed *)
|
2012-01-16 01:05:37 -08:00
|
|
|
val ar: string
|
|
|
|
(* Name of the ar command, or "" if not needed (MSVC) *)
|
2002-12-02 04:31:19 -08:00
|
|
|
val cc_profile : string
|
|
|
|
(* The command line option to the C compiler to enable profiling. *)
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
val load_path: string list ref
|
|
|
|
(* Directories in the search path for .cmi and .cmo files *)
|
|
|
|
|
1998-05-27 07:10:14 -07:00
|
|
|
val interface_suffix: string ref
|
|
|
|
(* Suffix for interface file names *)
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
val exec_magic_number: string
|
|
|
|
(* Magic number for bytecode executable files *)
|
|
|
|
val cmi_magic_number: string
|
|
|
|
(* Magic number for compiled interface files *)
|
|
|
|
val cmo_magic_number: string
|
|
|
|
(* Magic number for object bytecode files *)
|
|
|
|
val cma_magic_number: string
|
|
|
|
(* Magic number for archive files *)
|
1995-07-02 09:50:39 -07:00
|
|
|
val cmx_magic_number: string
|
|
|
|
(* Magic number for compilation unit descriptions *)
|
|
|
|
val cmxa_magic_number: string
|
|
|
|
(* Magic number for libraries of compilation unit descriptions *)
|
1996-04-23 04:37:55 -07:00
|
|
|
val ast_intf_magic_number: string
|
|
|
|
(* Magic number for file holding an interface syntax tree *)
|
|
|
|
val ast_impl_magic_number: string
|
|
|
|
(* Magic number for file holding an implementation syntax tree *)
|
2010-05-19 04:29:38 -07:00
|
|
|
val cmxs_magic_number: string
|
|
|
|
(* Magic number for dynamically-loadable plugins *)
|
2012-05-30 07:52:37 -07:00
|
|
|
val cmt_magic_number: string
|
|
|
|
(* Magic number for compiled interface files *)
|
1995-05-22 08:43:44 -07:00
|
|
|
|
|
|
|
val max_tag: int
|
2002-01-20 09:29:18 -08:00
|
|
|
(* Biggest tag that can be stored in the header of a regular block. *)
|
2002-12-19 07:49:53 -08:00
|
|
|
val lazy_tag : int
|
|
|
|
(* Normally the same as Obj.lazy_tag. Separate definition because
|
|
|
|
of technical reasons for bootstrapping. *)
|
1995-10-03 07:07:03 -07:00
|
|
|
val max_young_wosize: int
|
|
|
|
(* Maximal size of arrays that are directly allocated in the
|
|
|
|
minor heap *)
|
2001-05-28 08:14:18 -07:00
|
|
|
val stack_threshold: int
|
|
|
|
(* Size in words of safe area at bottom of VM stack,
|
|
|
|
see byterun/config.h *)
|
|
|
|
|
1995-08-08 05:17:31 -07:00
|
|
|
val architecture: string
|
|
|
|
(* Name of processor type for the native-code compiler *)
|
1996-01-07 09:00:35 -08:00
|
|
|
val model: string
|
|
|
|
(* Name of processor submodel for the native-code compiler *)
|
1995-08-08 05:17:31 -07:00
|
|
|
val system: string
|
|
|
|
(* Name of operating system for the native-code compiler *)
|
1996-02-15 08:19:09 -08:00
|
|
|
|
2007-10-30 05:37:16 -07:00
|
|
|
val asm: string
|
|
|
|
(* The assembler (and flags) to use for assembling
|
|
|
|
ocamlopt-generated code. *)
|
|
|
|
|
2012-02-21 09:41:02 -08:00
|
|
|
val asm_cfi_supported: bool
|
|
|
|
(* Whether assembler understands CFI directives *)
|
|
|
|
|
1996-02-15 08:19:09 -08:00
|
|
|
val ext_obj: string
|
|
|
|
(* Extension for object files, e.g. [.o] under Unix. *)
|
|
|
|
val ext_asm: string
|
|
|
|
(* Extension for assembler files, e.g. [.s] under Unix. *)
|
|
|
|
val ext_lib: string
|
|
|
|
(* Extension for library files, e.g. [.a] under Unix. *)
|
2001-08-28 07:47:48 -07:00
|
|
|
val ext_dll: string
|
|
|
|
(* Extension for dynamically-loaded libraries, e.g. [.so] under Unix.*)
|
2002-06-11 07:15:12 -07:00
|
|
|
|
|
|
|
val default_executable_name: string
|
|
|
|
(* Name of executable produced by linking if none is given with -o,
|
|
|
|
e.g. [a.out] under Unix. *)
|
2005-05-09 06:39:17 -07:00
|
|
|
|
|
|
|
val systhread_supported : bool
|
|
|
|
(* Whether the system thread library is implemented *)
|
|
|
|
|
|
|
|
val print_config : out_channel -> unit;;
|