[gforth] / gforth / BUILD-FROM-SCRATCH  

gforth: gforth/BUILD-FROM-SCRATCH


1 : jwilke 1.1 # Procedures to build gforth from the CVS sources
2 : anton 1.3
3 : anton 1.11 #use this with parameters and env variables like "configure"
4 :    
5 : anton 1.21 #Copyright (C) 2000,2002,2003,2006,2007 Free Software Foundation, Inc.
6 : anton 1.3
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
11 : anton 1.22 #as published by the Free Software Foundation, either version 3
12 : anton 1.3 #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
20 : anton 1.22 #along with this program. If not, see http://www.gnu.org/licenses/.
21 : anton 1.3
22 :    
23 : jwilke 1.1 # created: 2may00jaw
24 :    
25 : jwilke 1.6 # To build gforth from scratch you need autoconf, automake and a
26 : anton 1.17 # gforth-0.6.2
27 : jwilke 1.1 # This file can be used as shell script. If you make the environment
28 : pazsan 1.2 # variable GFORTH point to an existing gforth installation, this
29 : jwilke 1.6 # script takes over the whole build process and will produce the
30 :     # kernel kernel images from the sources as well
31 : jwilke 1.1
32 : pazsan 1.2
33 : anton 1.25 #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
42 : pazsan 1.2
43 : jwilke 1.1 # makes a aclocal.m4 which includes the automake macros for autconf
44 :    
45 : anton 1.19 aclocal &&
46 : jwilke 1.1
47 :     # generate configure script
48 :    
49 : anton 1.19 autoconf &&
50 : jwilke 1.1
51 :     # generate header files like engine/config.h.in
52 :    
53 : anton 1.19 autoheader &&
54 : pazsan 1.14 echo timestamp >stamp-h.in
55 : jwilke 1.1
56 : pazsan 1.15 # run configure Script
57 : jwilke 1.1
58 : anton 1.19 ./configure "$@" &&
59 : jwilke 1.1
60 : anton 1.10 #a local gforth.fi probably does not work with $GFORTH
61 : anton 1.19 rm -f gforth.fi &&
62 : anton 1.10
63 : pazsan 1.23 echo Running: make bootstrap &&
64 :     make bootstrap &&
65 :     echo Running: make &&
66 :     make &&
67 :     make doc &&
68 :     make more

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help