Module Ccomp

module Ccomp: sig .. end

Compiling C files and building C libraries

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


let command: string => int;
let run_command: string => unit;
let compile_file:
  (~output: string=?, ~opt: string=?, ~stable_name: string=?, string) => int;
let create_archive: (string, list(string)) => int;
let expand_libname: string => string;
let quote_files: list(string) => string;
let quote_optfile: option(string) => string;
type link_mode = 
| Exe
| Dll
| MainDll
| Partial
let call_linker: (link_mode, string, list(string), string) => int;