ocaml/camlp4/tools/ocamlopt.sh

9 lines
182 B
Bash
Raw Normal View History

#!/bin/sh -e
if test "`basename $OTOP`" != "ocaml_stuff"; then
COMM="$OTOP/boot/ocamlrun$EXE $OTOP/ocamlopt -I $OTOP/stdlib"
else
COMM=ocamlopt$OPT
fi
echo $COMM $*
$COMM $*