Module Ccomp

module Ccomp: sig .. end

Compiling C files and building C libraries

Warning: this module is unstable and part of compiler-libs.


val command : string -> int
val run_command : string -> unit
val compile_file : ?output:string -> ?opt:string -> ?stable_name:string -> string -> int
val create_archive : string -> string list -> int
val expand_libname : string -> string
val quote_files : string list -> string
val quote_optfile : string option -> string
type link_mode = 
| Exe
| Dll
| MainDll
| Partial
val call_linker : link_mode -> string -> string list -> string -> int