diff options
Diffstat (limited to 'tools/ocamlmktop.ml')
-rw-r--r-- | tools/ocamlmktop.ml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/ocamlmktop.ml b/tools/ocamlmktop.ml new file mode 100644 index 000000000..a199f9240 --- /dev/null +++ b/tools/ocamlmktop.ml @@ -0,0 +1,17 @@ +(***********************************************************************) +(* *) +(* Objective Caml *) +(* *) +(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *) +(* *) +(* Copyright 1996 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")) |