Represent a parsed and interpreted output of ocamlc -config and contents of Makefile.config.
Raw bindings
Represent the parsed but uninterpreted output of ocamlc -config or contents of Makefile.config.
Creation
Interpret raw bindings (this function also loads the Makefile.config file in the stdlib directory).
Query
The following parameters match the variables in the output of ocamlc -config but are stable across versions of OCaml.
Sourceval version : t -> int * int * int Sourceval version_string : t -> string Sourceval standard_library_default : t -> string Sourceval standard_library : t -> string Sourceval standard_runtime : t -> string Sourceval ocamlc_cflags : t -> string list Sourceval ocamlc_cppflags : t -> string list Sourceval ocamlopt_cflags : t -> string list Sourceval ocamlopt_cppflags : t -> string list Sourceval bytecomp_c_libraries : t -> string list Sourceval native_c_libraries : t -> string list Sourceval cc_profile : t -> string list Sourceval architecture : t -> string Sourceval asm_cfi_supported : t -> bool Sourceval with_frame_pointers : t -> bool Sourceval default_executable_name : t -> string Sourceval systhread_supported : t -> bool Sourceval exec_magic_number : t -> string Sourceval cmi_magic_number : t -> string Sourceval cmo_magic_number : t -> string Sourceval cma_magic_number : t -> string Sourceval cmx_magic_number : t -> string Sourceval cmxa_magic_number : t -> string Sourceval ast_impl_magic_number : t -> string Sourceval ast_intf_magic_number : t -> string Sourceval cmxs_magic_number : t -> string Sourceval cmt_magic_number : t -> string Sourceval natdynlink_supported : t -> bool Sourceval supports_shared_libraries : t -> bool Sourceval windows_unicode : t -> bool Values
Sourceval is_dev_version : t -> bool