/usr/bin/mkcamlp5.opt is in camlp5 6.16-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #!/bin/sh
# mkcamlp5.opt.sh.tpl,v
OLIB=`ocamlc -where`
LIB=/usr/lib/ocaml/camlp5
INTERFACES=
OPTS=
INCL="-I ."
while test "" != "$1"; do
case $1 in
-I) INCL="$INCL -I $2"; shift;;
-help)
echo "Usage: mkcamlp5.opt [options] [files]"
echo "Options:"
echo " -I <dir> Add directory in search patch for object files"
echo
echo "All options of ocamlopt are also available"
echo
echo "Files:"
echo " .cmx file Load this file in core"
echo " .cmxa file Load this file in core"
exit 0;;
*) OPTS="$OPTS $1";;
esac
shift
done
set -e
ocamlopt -I $LIB odyl.cmxa camlp5.cmxa $INCL $OPTS odyl.cmx -linkall
|