version 1.5, 2001/04/30 13:48:56
|
version 1.8, 2001/08/08 14:44:20
|
Line 21
|
Line 21
|
|
|
# created: 2may00jaw |
# created: 2may00jaw |
|
|
# To build gforth from scratch you need autoconf and automake. |
# To build gforth from scratch you need autoconf, automake and a |
|
# gforth0.5.0 |
# This file can be used as shell script. If you make the environment |
# This file can be used as shell script. If you make the environment |
# variable GFORTH point to an existing gforth installation, this |
# variable GFORTH point to an existing gforth installation, this |
# script takes over kernel and primitve files. |
# script takes over the whole build process and will produce the |
|
# kernel kernel images from the sources as well |
|
|
# try to guess a previous version of Gforth |
# try to guess a installed gforth |
|
|
if [ "$GFORTH" == "" ] |
if [ "$GFORTH"xx = "xx" ]; |
then |
then |
GFORTH=`which gforth` |
GFORTH=`which gforth` |
fi |
fi |
Line 45 autoconf
|
Line 47 autoconf
|
|
|
autoheader |
autoheader |
|
|
# run configure script |
# run configure sXScript |
|
|
./configure $* |
./configure $* |
|
|
# if you have specified a previous Gforth, you can savely run make now |
# if you have specified a previous Gforth, you can savely run make now |
# with FORTHK and FORTHP changed appropriate. |
# with FORTHK and FORTHP changed appropriate. |
|
|
if [ "$GFORTH" != "" ] |
echo xz |
|
if [ "$GFORTH"xx != "xx" ] |
then |
then |
make BUILDGFORTH="$GFORTH" |
echo Running: make BUILDFORTH="$GFORTH" gforth... |
|
make BUILDFORTH="$GFORTH" gforth |
|
echo Running: make BUILDFORTH="$GFORTH" all... |
|
make BUILDFORTH="$GFORTH" all |
fi |
fi |