1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Objective Caml *)
|
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 *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* Automatique. Distributed only by permission. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1995-07-11 11:05:47 -07:00
|
|
|
(* Build libraries of .cmo files *)
|
|
|
|
|
|
|
|
(* Format of a library file:
|
1996-04-18 09:28:28 -07:00
|
|
|
magic number (Config.cma_magic_number)
|
1995-07-11 11:05:47 -07:00
|
|
|
absolute offset of content table
|
|
|
|
blocks of relocatable bytecode
|
|
|
|
content table = list of compilation units
|
|
|
|
*)
|
|
|
|
|
|
|
|
val create_archive: string list -> string -> unit
|
|
|
|
|
|
|
|
type error =
|
|
|
|
File_not_found of string
|
|
|
|
| Not_an_object_file of string
|
|
|
|
|
|
|
|
exception Error of error
|
|
|
|
|
|
|
|
val report_error: error -> unit
|