aboutsummaryrefslogtreecommitdiff
path: root/dev/ocamldebug-v7
blob: bad484c41c77a3b04a5ff00bd6d069b6b001ad59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# wrap around ocamldebug for Coq

export COQTOP=$constr/V7
export CAMLP4LIB=`camlp4 -where`
CAMLBIN=`which ocamlc`
OCAMLDEBUG=`dirname $CAMLBIN`/ocamldebug

exec $OCAMLDEBUG \
	-I $CAMLP4LIB \
	-I $COQTOP/lib \
	-I $COQTOP/dev \
	-I $COQTOP/kernel \
	-I $COQTOP/parsing \
        -I $COQTOP/toplevel \
	$*