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 quote_files : string list -> string
47
48
49
50
51 val quote_optfile : string option -> string
52
53
54
55 type link_mode =
56 | Exe
57 | Dll
58 | MainDll
59 | Partial
60
61
62
63
64
65 val call_linker : link_mode -> string -> string list -> string -> int
66
67
68
69
70 val linker_is_flexlink : bool
71
72
73
74
75
76
77OCamldoc 2022-07-22 Ccomp(3)