val to_dyn : t Stdune.Dyn.Encoder.tmodule Prog_and_args : sig ... endRaw bindings
module Vars : sig ... endRepresent the parsed but uninterpreted output of ocamlc -config or contents of Makefile.config.
Creation
module Origin : sig ... endmodule Os_type : sig ... endmodule Ccomp_type : sig ... endval make : Vars.t -> (t, Origin.t * string) Stdlib.resultInterpret raw bindings (this function also loads the Makefile.config file in the stdlib directory).
Query
val version : t -> int * int * intval version_string : t -> stringval standard_library_default : t -> stringval standard_library : t -> stringval standard_runtime : t -> stringval ccomp_type : t -> Ccomp_type.tval c_compiler : t -> stringval ocamlc_cflags : t -> string listval ocamlopt_cflags : t -> string listval bytecomp_c_compiler : t -> Prog_and_args.tval bytecomp_c_libraries : t -> string listval native_c_compiler : t -> Prog_and_args.tval native_c_libraries : t -> string listval cc_profile : t -> string listval architecture : t -> stringval model : t -> stringval int_size : t -> intval word_size : t -> intval system : t -> stringval asm : t -> Prog_and_args.tval asm_cfi_supported : t -> boolval with_frame_pointers : t -> boolval ext_exe : t -> stringval ext_obj : t -> stringval ext_asm : t -> stringval ext_lib : t -> stringval ext_dll : t -> stringval default_executable_name : t -> stringval systhread_supported : t -> boolval host : t -> stringval target : t -> stringval profiling : t -> boolval flambda : t -> boolval spacetime : t -> boolval safe_string : t -> boolval exec_magic_number : t -> stringval cmi_magic_number : t -> stringval cmo_magic_number : t -> stringval cma_magic_number : t -> stringval cmx_magic_number : t -> stringval cmxa_magic_number : t -> stringval ast_impl_magic_number : t -> stringval ast_intf_magic_number : t -> stringval cmxs_magic_number : t -> stringval cmt_magic_number : t -> stringval natdynlink_supported : t -> boolval windows_unicode : t -> boolValues
module Value : sig ... endval is_dev_version : t -> bool