]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/contrib/tools/ocamlmktop.ml
update
[l4.git] / l4 / pkg / ocaml / contrib / tools / ocamlmktop.ml
1 (***********************************************************************)
2 (*                                                                     *)
3 (*                           Objective Caml                            *)
4 (*                                                                     *)
5 (*            Xavier Leroy, projet Cristal, INRIA Rocquencourt         *)
6 (*                                                                     *)
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.               *)
10 (*                                                                     *)
11 (***********************************************************************)
12
13 (* $Id: ocamlmktop.ml 5454 2003-03-24 15:27:01Z xleroy $ *)
14
15 let _ =
16   let args = Ccomp.quote_files (List.tl (Array.to_list Sys.argv)) in
17   exit(Sys.command("ocamlc -linkall toplevellib.cma " ^ args ^ " topstart.cmo"))