![]() ![]() | ![]() |
gforth-prof is no longer generated by default turned off dynamic-default for hppa minor changes to make testdist work documentation changes
1: #! /bin/sh 2: #tests that dist works 3: #usage: testdist gforth-version.tar.gz 4: #gforth-version.tar.gz must be in the working directory 5: MACHINE=`hostname` 6: GFORTH=`basename $1 .tar.gz` 7: DIR=`cygpath -m \`pwd\` 2>/dev/null` || DIR=`pwd` 8: test -z "$CC" && CC=cc 9: chmod -R +w $GFORTH 10: rm -rf $GFORTH 11: gunzip -cd $1 | tar xf - 12: (if make --version|grep -q GNU 13: then 14: echo building in build 15: chmod -R a-w $GFORTH 16: rm -rf build 17: mkdir build 18: cd build 19: ../$GFORTH/configure --prefix=$DIR/install 20: else 21: echo building in $GFORTH 22: cd $GFORTH 23: ./configure --prefix=$DIR/install 24: fi && 25: make && 26: make check && 27: #gforth locals-test.fs 28: #gforth test-counted-loops.fs 29: make install && 30: #make all-bench && 31: chmod -R +w ../$GFORTH/vmgen-ex ../$GFORTH/vmgen-ex2 && 32: cd ../$GFORTH/vmgen-ex && 33: PATH=$DIR/install/bin:$PATH make check GCC="$CC -O" YACC=yacc LEX=lex && 34: cd ../vmgen-ex2 && 35: PATH=$DIR/install/bin:$PATH make check GCC="$CC -O" YACC=yacc LEX=lex && 36: cd .. && 37: cd .. && 38: install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye && 39: echo test ok ) 40: chmod -R +w $GFORTH 41: cd ..