2016-02-18 07:11:59 -08:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* OCaml *)
|
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. This file is distributed under the terms of *)
|
|
|
|
(* the GNU Lesser General Public License version 2.1, with the *)
|
|
|
|
(* special exception on linking described in the file LICENSE. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
1996-11-07 03:04:12 -08:00
|
|
|
|
|
|
|
(* Compiling C files and building C libraries *)
|
|
|
|
|
1997-05-15 06:30:31 -07:00
|
|
|
val command: string -> int
|
1998-11-12 06:54:12 -08:00
|
|
|
val run_command: string -> unit
|
2016-02-10 01:21:54 -08:00
|
|
|
val compile_file: string -> int
|
1996-11-07 03:04:12 -08:00
|
|
|
val create_archive: string -> string list -> int
|
1998-12-02 06:39:27 -08:00
|
|
|
val expand_libname: string -> string
|
2002-03-12 08:17:53 -08:00
|
|
|
val quote_files: string list -> string
|
2008-01-11 08:13:18 -08:00
|
|
|
val quote_optfile: string option -> string
|
2007-11-15 05:21:15 -08:00
|
|
|
(*val make_link_options: string list -> string*)
|
|
|
|
|
|
|
|
type link_mode =
|
|
|
|
| Exe
|
|
|
|
| Dll
|
2007-11-15 07:18:28 -08:00
|
|
|
| MainDll
|
2007-11-15 08:09:57 -08:00
|
|
|
| Partial
|
2007-11-15 05:21:15 -08:00
|
|
|
|
|
|
|
val call_linker: link_mode -> string -> string list -> string -> bool
|