version 1.12, 2003/03/02 21:25:20
|
version 1.14, 2003/08/22 08:08:46
|
Line 4
|
Line 4
|
#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 - |
Line 12 gunzip -cd $1 | tar xf -
|
Line 13 gunzip -cd $1 | tar xf -
|
then |
then |
echo building in build |
echo building in build |
chmod -R a-w $GFORTH |
chmod -R a-w $GFORTH |
|
rm -rf build |
mkdir build |
mkdir build |
cd build |
cd build |
../$GFORTH/configure --prefix=$DIR/install |
../$GFORTH/configure --prefix=$DIR/install |
Line 28 make install &&
|
Line 30 make install &&
|
#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" && |
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" && |
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 && |