You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
401 B
Bash
10 lines
401 B
Bash
13 years ago
|
#!/bin/bash
|
||
|
OCAML_LIB=`ocamlc -where`
|
||
13 years ago
|
DIR=`pwd`
|
||
13 years ago
|
echo "load_printer \"${OCAML_LIB}/ocamlgraph/graph.cmo\"
|
||
|
load_printer \"${OCAML_LIB}/menhirLib/menhirLib.cmo\"
|
||
|
load_printer \"${OCAML_LIB}/str.cma\"" > debugger_script
|
||
13 years ago
|
pushd ../compiler > /dev/null
|
||
13 years ago
|
ocamlbuild -clean
|
||
13 years ago
|
ocamlbuild heptc.d.byte | sed -n 's/.*\-o \([^ ]\+.cm[io]\).*/load_printer "_build\/\1"/p' | sed 's/\.cmi/.cmo/' >> $DIR/debugger_script
|