DOKK / manpages / debian 12 / ocaml-man / Ccomp.3o.en
Ccomp(3o) OCaml library Ccomp(3o)

Ccomp - Compiling C files and building C libraries

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 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

val linker_is_flexlink : bool

2023-02-12 OCamldoc