ConfigSystem configuration
Warning: this module is unstable and part of compiler-libs.
The "kind" of the C compiler, assembler and linker used: one of "cc" (for Unix-style C compilers) "msvc" (for Microsoft Visual C++ and MASM)
The flag to use for assembler debug section compression ("" if none)
The flag to use for C compiler debug section compression ("" if none)
The flag to use for objcopy debug section compression ("" if none)
The objcopy command (and flags) to use for split debug enabled by Clflags.dwarf_fission.
The linker to use for packaging (ocamlopt -pack) and for partial links (ocamlopt -output-obj).
Option to add a directory to be searched for libraries at runtime (used by ocamlmklib)
Option to add a directory to be searched for shared libraries at runtime (used by ocamlmklib)
val interface_suffix : string refSuffix for interface file names
Normally the same as Obj.lazy_tag. Separate definition because of technical reasons for bootstrapping.
Size in words of safe area at bottom of VM stack, see runtime/caml/config.h
Size in words of the safety margin between the bottom of the stack and the stack pointer. This margin can be used by intermediate computations of some instructions, or the event handler.
Whether code generation should expose native OCaml operations to AddressSanitizer.
val name_mangling_scheme : name_mangling_schemeThe name mangling scheme to use
Name of executable produced by linking if none is given with -o, e.g. a.out under Unix.
true if the compiler was built in a OxCaml repo, false if the compiler was built as per upstream.
How many bits of a block's header are reserved. This is correct regardless of whether we're in runtime 4 or runtime 5.
In runtime 5, this corresponds to the HEADER_RESERVED_BITS C preprocessor macro. In runtime 4, this corresponds to the PROFINFO_WIDTH C preprocessor macro. Both of these are unconditionally set to a constant by the configure script in order to enable mixed block support.
Whether the compiler was configured to generate each function in a separate section
Whether shared libraries are supported
Whether creating multiple domains is allowed. Requires stack checks and poll insertion.
val print_config : out_channel -> unitAccess to configuration values