summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/tools/ocamlmktop.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/tools/ocamlmktop.ml')
-rw-r--r--ocaml-binary-annot/tools/ocamlmktop.ml17
1 files changed, 17 insertions, 0 deletions
diff --git a/ocaml-binary-annot/tools/ocamlmktop.ml b/ocaml-binary-annot/tools/ocamlmktop.ml
new file mode 100644
index 0000000000..3d353a8f59
--- /dev/null
+++ b/ocaml-binary-annot/tools/ocamlmktop.ml
@@ -0,0 +1,17 @@
+(***********************************************************************)
+(* *)
+(* Objective Caml *)
+(* *)
+(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
+(* *)
+(* Copyright 1996 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the Q Public License version 1.0. *)
+(* *)
+(***********************************************************************)
+
+(* $Id$ *)
+
+let _ =
+ let args = Ccomp.quote_files (List.tl (Array.to_list Sys.argv)) in
+ exit(Sys.command("ocamlc -linkall toplevellib.cma " ^ args ^ " topstart.cmo"))