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
|
1995-07-02 09:45:21 -07:00
|
|
|
|
2012-01-20 06:23:34 -08:00
|
|
|
val check_consistency: Format.formatter -> string -> Cmo_format.compilation_unit -> unit
|
1995-07-02 09:45:21 -07:00
|
|
|
|
2002-02-08 08:55:44 -08:00
|
|
|
val extract_crc_interfaces: unit -> (string * Digest.t) list
|
|
|
|
|
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
|
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
|