Annotation of gforth/BUILD-FROM-SCRATCH, revision 1.25
1.1 jwilke 1: # Procedures to build gforth from the CVS sources
1.3 anton 2:
1.11 anton 3: #use this with parameters and env variables like "configure"
4:
1.21 anton 5: #Copyright (C) 2000,2002,2003,2006,2007 Free Software Foundation, Inc.
1.3 anton 6:
7: #This file is part of Gforth.
8:
9: #Gforth is free software; you can redistribute it and/or
10: #modify it under the terms of the GNU General Public License
1.22 anton 11: #as published by the Free Software Foundation, either version 3
1.3 anton 12: #of the License, or (at your option) any later version.
13:
14: #This program is distributed in the hope that it will be useful,
15: #but WITHOUT ANY WARRANTY; without even the implied warranty of
16: #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the
17: #GNU General Public License for more details.
18:
19: #You should have received a copy of the GNU General Public License
1.22 anton 20: #along with this program. If not, see http://www.gnu.org/licenses/.
1.3 anton 21:
22:
1.1 jwilke 23: # created: 2may00jaw
24:
1.6 jwilke 25: # To build gforth from scratch you need autoconf, automake and a
1.17 anton 26: # gforth-0.6.2
1.1 jwilke 27: # This file can be used as shell script. If you make the environment
1.2 pazsan 28: # variable GFORTH point to an existing gforth installation, this
1.6 jwilke 29: # script takes over the whole build process and will produce the
30: # kernel kernel images from the sources as well
1.1 jwilke 31:
1.2 pazsan 32:
1.25 ! anton 33: #if [ "$GFORTH"xx = "xx" ];
! 34: #then
! 35: # rm -f gforth
! 36: # GFORTH="`which gforth` --die-on-signal"
! 37: # if [ "$GFORTH"xx = "xx" ]; then
! 38: # echo 'BUILD-FROM-SCRATCH needs a working gforth (in environment variable GFORTH)'
! 39: # exit 1
! 40: # fi
! 41: #fi
1.2 pazsan 42:
1.1 jwilke 43: # makes a aclocal.m4 which includes the automake macros for autconf
44:
1.19 anton 45: aclocal &&
1.1 jwilke 46:
47: # generate configure script
48:
1.19 anton 49: autoconf &&
1.1 jwilke 50:
51: # generate header files like engine/config.h.in
52:
1.19 anton 53: autoheader &&
1.14 pazsan 54: echo timestamp >stamp-h.in
1.1 jwilke 55:
1.15 pazsan 56: # run configure Script
1.1 jwilke 57:
1.19 anton 58: ./configure "$@" &&
1.1 jwilke 59:
1.10 anton 60: #a local gforth.fi probably does not work with $GFORTH
1.19 anton 61: rm -f gforth.fi &&
1.10 anton 62:
1.23 pazsan 63: echo Running: make bootstrap &&
64: make bootstrap &&
65: echo Running: make &&
66: make &&
67: make doc &&
68: make more
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>