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-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
|
|
|
|
*)
|
|
|
|
|
2012-01-20 06:23:34 -08:00
|
|
|
val create_archive: Format.formatter -> string list -> string -> unit
|
1995-07-11 11:05:47 -07:00
|
|
|
|
|
|
|
type error =
|
|
|
|
File_not_found of string
|
|
|
|
| Not_an_object_file of string
|
|
|
|
|
|
|
|
exception Error of error
|
|
|
|
|
2000-03-06 14:12:09 -08:00
|
|
|
open Format
|
|
|
|
|
|
|
|
val report_error: formatter -> error -> unit
|
2014-05-09 05:01:21 -07:00
|
|
|
|
|
|
|
val reset: unit -> unit
|