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 (***********************************************************************)
13 (* $Id: bytelink.mli 7422 2006-05-11 15:50:53Z xleroy $ *)
15 (* Link .cmo files and produce a bytecode executable. *)
17 val link: string list -> string -> unit
19 val check_consistency: string -> Cmo_format.compilation_unit -> unit
21 val extract_crc_interfaces: unit -> (string * Digest.t) list
24 File_not_found of string
25 | Not_an_object_file of string
26 | Symbol_error of string * Symtable.error
27 | Inconsistent_import of string * string * string
29 | File_exists of string
30 | Cannot_open_dll of string
32 exception Error of error
36 val report_error: formatter -> error -> unit