diff options
Diffstat (limited to 'ocaml-binary-annot/build/boot.sh')
| -rwxr-xr-x | ocaml-binary-annot/build/boot.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ocaml-binary-annot/build/boot.sh b/ocaml-binary-annot/build/boot.sh new file mode 100755 index 0000000000..7329d20b76 --- /dev/null +++ b/ocaml-binary-annot/build/boot.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# $Id$ +cd `dirname $0`/.. +set -ex +TAGLINE='true: -use_stdlib' +./boot/ocamlrun boot/myocamlbuild.boot \ + -tag-line "$TAG_LINE" \ + boot/stdlib.cma boot/std_exit.cmo + +boot/ocamlrun boot/myocamlbuild.boot \ + -tag-line "$TAG_LINE" -log _boot_log1 \ + ocamlbuild/ocamlbuildlightlib.cma ocamlbuild/ocamlbuildlight.byte + +rm -f _build/myocamlbuild + +boot/ocamlrun boot/myocamlbuild.boot \ + -just-plugin -install-lib-dir _build/ocamlbuild -byte-plugin + +cp _build/myocamlbuild boot/myocamlbuild + +./boot/ocamlrun boot/myocamlbuild \ + -tag-line "$TAG_LINE" \ + $@ -log _boot_log2 boot/camlheader ocamlc |
