1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* 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. *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
1995-07-02 09:45:21 -07:00
|
|
|
(* Link .cmo files and produce a bytecode executable. *)
|
|
|
|
|
2012-01-20 06:23:34 -08:00
|
|
|
val link : Format.formatter -> string list -> string -> unit
|
2014-05-09 05:01:21 -07:00
|
|
|
val reset : unit -> unit
|
1995-07-02 09:45:21 -07:00
|
|
|
|
2013-03-09 14:38:52 -08:00
|
|
|
val check_consistency:
|
|
|
|
Format.formatter -> string -> Cmo_format.compilation_unit -> unit
|
1995-07-02 09:45:21 -07:00
|
|
|
|
2014-05-06 17:34:20 -07:00
|
|
|
val extract_crc_interfaces: unit -> (string * Digest.t option) list
|
2002-02-08 08:55:44 -08:00
|
|
|
|
1995-07-02 09:45:21 -07:00
|
|
|
type error =
|
|
|
|
File_not_found of string
|
|
|
|
| Not_an_object_file of string
|
2012-09-01 06:10:10 -07:00
|
|
|
| Wrong_object_name of string
|
1995-07-02 09:45:21 -07:00
|
|
|
| Symbol_error of string * Symtable.error
|
|
|
|
| Inconsistent_import of string * string * string
|
|
|
|
| Custom_runtime
|
1996-11-07 02:56:52 -08:00
|
|
|
| File_exists of string
|
2001-08-28 07:47:48 -07:00
|
|
|
| Cannot_open_dll of string
|
2013-04-18 04:58:59 -07:00
|
|
|
| Not_compatible_32
|
1995-07-02 09:45:21 -07:00
|
|
|
|
|
|
|
exception Error of error
|
|
|
|
|
2000-03-06 14:12:09 -08:00
|
|
|
open Format
|
|
|
|
|
|
|
|
val report_error: formatter -> error -> unit
|