1Ccomp(3) OCaml library Ccomp(3)
2
3
4
6 Ccomp - Compiling C files and building C libraries
7
9 Module Ccomp
10
12 Module Ccomp
13 : sig end
14
15
16 Compiling C files and building C libraries
17
18 Warning: this module is unstable and part of Compiler_libs .
19
20
21
22
23
24
25 val command : string -> int
26
27
28
29
30 val run_command : string -> unit
31
32
33
34
35 val compile_file : ?output:string -> ?opt:string -> ?stable_name:string
36 -> string -> int
37
38
39
40
41 val create_archive : string -> string list -> int
42
43
44
45
46 val expand_libname : string -> string
47
48
49
50
51 val quote_files : string list -> string
52
53
54
55
56 val quote_optfile : string option -> string
57
58
59
60 type link_mode =
61 | Exe
62 | Dll
63 | MainDll
64 | Partial
65
66
67
68
69
70 val call_linker : link_mode -> string -> string list -> string -> bool
71
72
73
74
75
76
77OCamldoc 2020-02-27 Ccomp(3)