From 0a22b0290c16106c9b7127d5e16a2951576fb1b7 Mon Sep 17 00:00:00 2001 From: malc Date: Mon, 17 Sep 2007 02:41:50 +0400 Subject: [PATCH] Update tbs --- tbs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tbs b/tbs index b9b3bf4..4dd09e6 100644 --- a/tbs +++ b/tbs @@ -17,10 +17,17 @@ fi if ! md5sum --status -c $d; then cp $h/build.ml build1.ml - md5sum $h/build.ml $h/tbs $t/tbs.cma >$d.tmp + md5sum $h/build.ml $h/build.sh $t/tbs.cma >$d.tmp ocamlc.opt -g -thread -I $t unix.cma threads.cma tbs.cma build1.ml -o b mv $d.tmp $d fi +gcc="gcc" +gxx="g++" +test $(hostname) = "linmac" && { + gcc="$HOME/x/dev/gcc-4.2.1/bin/gcc"; + gxx="$HOME/x/dev/gcc-4.2.1/bin/g++" +} + targets="apc" -./b -O src:$h $* $targets +./b -O src:$h -O gcc:$gcc -O g++:$gxx $* $targets -- 2.11.4.GIT