Scroll to navigation

Ccomp(3) OCaml library Ccomp(3)

NAME

Ccomp - Compiling C files and building C libraries

Module

Module Ccomp

Documentation

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

2022-03-11 OCamldoc