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
|
|
|
|
2018-09-12 00:51:47 -07:00
|
|
|
(** Compiling C files and building C libraries
|
|
|
|
|
|
|
|
{b Warning:} this module is unstable and part of
|
2018-09-12 06:36:40 -07:00
|
|
|
{{!Compiler_libs}compiler-libs}.
|
2018-09-12 00:51:47 -07:00
|
|
|
|
|
|
|
*)
|
1996-11-07 03:04:12 -08:00
|
|
|
|
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
|
2018-06-30 04:26:48 -07:00
|
|
|
val compile_file:
|
|
|
|
?output:string -> ?opt:string -> ?stable_name:string -> 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
|
|
|
|
2020-03-22 17:42:05 -07:00
|
|
|
val call_linker: link_mode -> string -> string list -> string -> int
|
2020-09-11 05:43:53 -07:00
|
|
|
|
|
|
|
val linker_is_flexlink : bool
|