]> git.saurik.com Git - bison.git/blame - README-cvs
Add it for real.
[bison.git] / README-cvs
CommitLineData
2ab9a04f
AD
1-*- outline -*-
2
d1a6f01e 3These notes intend to help people working on the CVS versions of
2ab9a04f
AD
4Bison.
5
6* Requirements
7
8Only the sources are installed in the CVS repository (to ease the
1f65350a
PE
9maintenance, merges etc.), therefore you will have to get the latest
10stable versions of the maintainer tools we depend upon, including:
cd3684cf 11
5b4aaf78
PE
12- Automake <http://www.gnu.org/software/automake/>
13- Autoconf <http://www.gnu.org/software/autoconf/>
14- Flex <http://www.gnu.org/software/flex/>
15- Gettext <http://www.gnu.org/software/gettext/>
16- Gzip <http://www.gnu.org/software/gzip/>
17- Tar <http://www.gnu.org/software/tar/>
18- Wget <http://www.gnu.org/software/wget/>
19
20As of this writing, the latest stable version of Gzip is 1.2.4 but we
21suggest using test version 1.3.5 (or later, if one becomes available).
22
23Valgrind <http://valgrind.org/> is also highly recommended, if
24Valgrind supports your architecture.
25
26Bison is written using Bison grammars, so there are bootstrapping
27issues. The bootstrap script attempts to discover when the C code
28generated from the grammars is out of date, and to bootstrap with an
29out-of-date version of the C code, but the process is not foolproof.
30Also, you may run into similar problems yourself if you modify Bison.
d1a6f01e
AD
31
32Only building the initial full source tree will be a bit painful,
33later, a plain `cvs update -P & make' should be sufficient.
34
35* First CVS checkout
36
37Obviously, if you are reading these notes, you did manage to check out
38Bison from CVS. For the records, you will find all the relevant
39information on:
40
41 http://savannah.gnu.org/cvs/?group_id=56
42
43The next step is asking the installation of all the missing files:
44
01c56de4 45 $ ./bootstrap
d1a6f01e
AD
46
47And there you are! Just
48
49 $ ./configure && make && make check
50
51At this point, there should be no difference between your local copy,
52and the CVS master copy:
53
54 $ cvs diff
55
5b4aaf78 56should output no difference.
d1a6f01e
AD
57
58Enjoy!
59
d1a6f01e
AD
60-----
61
5b4aaf78 62Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
d1a6f01e 63
976e6270 64This file is part of GNU Bison.
d1a6f01e 65
976e6270 66GNU Bison is free software; you can redistribute it and/or modify
d1a6f01e
AD
67it under the terms of the GNU General Public License as published by
68the Free Software Foundation; either version 2, or (at your option)
69any later version.
70
976e6270 71GNU Bison is distributed in the hope that it will be useful,
d1a6f01e
AD
72but WITHOUT ANY WARRANTY; without even the implied warranty of
73MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74GNU General Public License for more details.
75
76You should have received a copy of the GNU General Public License
976e6270 77along with Bison; see the file COPYING. If not, write to
0fb669f9
PE
78the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
79Boston, MA 02110-1301, USA.