1 (***********************************************************************)
5 (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
7 (* Copyright 1996 Institut National de Recherche en Informatique et *)
8 (* en Automatique. All rights reserved. This file is distributed *)
9 (* under the terms of the Q Public License version 1.0. *)
11 (***********************************************************************)
15 (* Link a set of .cmx/.o files and produce an executable *)
19 val link
: formatter
-> string list
-> string -> unit
21 val check_consistency
: string -> Compilenv.unit_infos
-> Digest.t
-> unit
22 val extract_crc_interfaces
: unit -> (string * Digest.t
) list
23 val extract_crc_implementations
: unit -> (string * Digest.t
) list
26 File_not_found
of string
27 | Not_an_object_file
of string
28 | Missing_implementations
of (string * string list
) list
29 | Inconsistent_interface
of string * string * string
30 | Inconsistent_implementation
of string * string * string
31 | Assembler_error
of string
33 | Multiple_definition
of string * string * string
34 | Missing_cmx
of string * string
36 exception Error
of error
38 val report_error
: formatter
-> error
-> unit