ocaml/tools/cslmktop.ml

18 lines
912 B
OCaml

(***********************************************************************)
(* *)
(* Caml Special Light *)
(* *)
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 1995 Institut National de Recherche en Informatique et *)
(* Automatique. Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id$ *)
let _ =
let args =
String.concat " " (List.tl (Array.to_list Sys.argv)) in
exit(Sys.command("cslc -linkall toplevellib.cma " ^ args ^ " topmain.cmo"))