Add copyright notices and new function String.chomp
[ocaml.git] / asmcomp / asmpackager.mli
blob7d0bb588b52859bcf50f954e1b5ffa0f02f99a18
1 (***********************************************************************)
2 (* *)
3 (* Objective Caml *)
4 (* *)
5 (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
6 (* *)
7 (* Copyright 2002 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. *)
10 (* *)
11 (***********************************************************************)
13 (* $Id$ *)
15 (* "Package" a set of .cmx/.o files into one .cmx/.o file having the
16 original compilation units as sub-modules. *)
18 val package_files: Format.formatter -> string list -> string -> unit
20 type error =
21 Illegal_renaming of string * string
22 | Forward_reference of string * string
23 | Wrong_for_pack of string * string
24 | Linking_error
25 | Assembler_error of string
26 | File_not_found of string
28 exception Error of error
30 val report_error: Format.formatter -> error -> unit