Added environment variable for the compiler binary
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Tue, 8 Aug 2006 08:19:52 +0000 (08:19 +0000)
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Tue, 8 Aug 2006 08:19:52 +0000 (08:19 +0000)
ir/be/test/makereport.sh

index bba2ca4..22bfdef 100755 (executable)
@@ -1,3 +1,4 @@
+EDG_BIN="edg"
 EDG_CFLAGS="--c --gnu=400002 -I/usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.1/include"
 GCC_CFLAGS="-O3 -g -fomit-frame-pointer"
 LINKFLAGS="-lm"
@@ -35,7 +36,7 @@ for file in ${CFILES}; do
     echo "Building $name"
     echo "Results for $name" > $res
     echo "*** EDG/FIRM Compile" >> $res
-    CMD="edg ${EDG_CFLAGS} $file"
+    CMD="${EDG_BIN} ${EDG_CFLAGS} $file"
     echo "$CMD" >> $res
     $CMD >> $res 2>&1 || COMPILE_RES="failed"