1996-11-07 03:04:12 -08:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Objective Caml *)
|
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1996-11-07 03:04:12 -08:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
|
|
|
(* 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
|
1998-11-06 07:39:43 -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
|