1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Objective Caml *)
|
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
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
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
|
2002-07-23 07:12:03 -07:00
|
|
|
(* The "kind" of the C compiler: one of
|
2002-06-07 02:49:45 -07:00
|
|
|
"cc" (for Unix-style C compilers)
|
|
|
|
"msvc" (Microsoft Visual C++)
|
|
|
|
"mrc" (Macintosh MPW) *)
|
1995-07-18 01:42:01 -07:00
|
|
|
val bytecomp_c_compiler: string
|
2000-04-16 07:34:58 -07:00
|
|
|
(* The C compiler to use for compiling C files
|
|
|
|
with the bytecode compiler *)
|
|
|
|
val bytecomp_c_linker: string
|
|
|
|
(* The C compiler to use for building custom runtime systems
|
|
|
|
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
|
2000-04-16 07:34:58 -07:00
|
|
|
(* The C compiler to use for compiling C files
|
|
|
|
with the native-code compiler *)
|
|
|
|
val native_c_linker: string
|
|
|
|
(* The C compiler to use for the final linking step
|
|
|
|
in 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 *)
|
1997-03-17 05:01:04 -08:00
|
|
|
val native_partial_linker: string
|
2003-07-03 08:13:23 -07:00
|
|
|
(* The linker to use for partial links (ocamlopt -output-obj) *)
|
|
|
|
val native_pack_linker: string
|
|
|
|
(* The linker to use for packaging (ocamlopt -pack) *)
|
1996-11-07 03:01:32 -08:00
|
|
|
val ranlib: string
|
|
|
|
(* Command to randomize a library, or "" if not needed *)
|
2002-02-08 08:55:44 -08:00
|
|
|
val binutils_nm: string
|
|
|
|
(* The "nm" command from GNU binutils, or "" if not available *)
|
|
|
|
val binutils_objcopy: string
|
|
|
|
(* The "objcopy" command from GNU binutils, or "" if not available *)
|
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 *)
|
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
|
|
|
|
|
|
|
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. *)
|