| #gforth-version.tar.gz must be in the working directory |
#gforth-version.tar.gz must be in the working directory |
| MACHINE=`hostname` |
MACHINE=`hostname` |
| GFORTH=`basename $1 .tar.gz` |
GFORTH=`basename $1 .tar.gz` |
| DIR=`pwd` |
DIR=`cygpath -m \`pwd\` 2>/dev/null` || DIR=`pwd` |
| |
test -z "$CC" && CC=cc |
| chmod -R +w $GFORTH |
chmod -R +w $GFORTH |
| rm -rf $GFORTH |
rm -rf $GFORTH |
| gunzip -cd $1 | tar xf - |
gunzip -cd $1 | tar xf - |
| #make all-bench && |
#make all-bench && |
| chmod -R +w ../$GFORTH/vmgen-ex ../$GFORTH/vmgen-ex2 && |
chmod -R +w ../$GFORTH/vmgen-ex ../$GFORTH/vmgen-ex2 && |
| cd ../$GFORTH/vmgen-ex && |
cd ../$GFORTH/vmgen-ex && |
| PATH=$DIR/install/bin:$PATH make check GCC="cc -O" YACC=yacc && |
PATH=$DIR/install/bin:$PATH make check GCC="$CC -O" YACC=yacc && |
| cd ../vmgen-ex2 && |
cd ../vmgen-ex2 && |
| PATH=$DIR/install/bin:$PATH make check GCC="cc -O" YACC=yacc && |
PATH=$DIR/install/bin:$PATH make check GCC="$CC -O" YACC=yacc && |
| cd .. && |
cd .. && |
| cd .. && |
cd .. && |
| install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye && |
install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye && |