1(**************************************************************************)
2(*                                                                        *)
3(*                                 OCaml                                  *)
4(*                                                                        *)
5(*             Xavier Leroy, projet Cristal, INRIA Rocquencourt           *)
6(*                                                                        *)
7(*   Copyright 1996 Institut National de Recherche en Informatique et     *)
8(*     en Automatique.                                                    *)
9(*                                                                        *)
10(*   All rights reserved.  This file is distributed under the terms of    *)
11(*   the GNU Lesser General Public License version 2.1, with the          *)
12(*   special exception on linking described in the file LICENSE.          *)
13(*                                                                        *)
14(**************************************************************************)
15
16(* Compiling C files and building C libraries *)
17
18val command: string -> int
19val run_command: string -> unit
20val compile_file: string -> int
21val create_archive: string -> string list -> int
22val expand_libname: string -> string
23val quote_files: string list -> string
24val quote_optfile: string option -> string
25(*val make_link_options: string list -> string*)
26
27type link_mode =
28  | Exe
29  | Dll
30  | MainDll
31  | Partial
32
33val call_linker: link_mode -> string -> string list -> string -> bool
34