mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
location that is not defined. This results in garbage, and that affects Bison's own parser. Therefore we need (i) to extend Bison to support a means to initialize this location, and (ii) to use this CVS Bison to fix CVS Bison's parser. * src/reader.h, reader.c (epilogue_augment): Remove, replace with... * src/muscle_tab.h, src/muscle_tab.c (muscle_code_grow): this. * src/parse-gram.y: Adjust. (%initial-action): New. (%error-verbose): Since we require CVS Bison, there is no reason not to use it. * src/scan-gram.l: Adjust. * src/Makefile.am (YACC): New, to make sure we use our own parser. * data/yacc.c (yyparse): Use b4_initial_action.
88 lines
2.2 KiB
Plaintext
88 lines
2.2 KiB
Plaintext
-*- outline -*-
|
|
|
|
These notes intend to help people working on the CVS versions of
|
|
Bison.
|
|
|
|
* Requirements
|
|
|
|
Only the sources are installed in the CVS repository (to ease the
|
|
maintenance, merges etc.), therefore you will have to the maintainer
|
|
tools we depend upon:
|
|
|
|
- Automake 1.7
|
|
|
|
- Autoconf 2.57
|
|
|
|
- Gettext 0.12.1
|
|
|
|
- CVS Bison itself
|
|
|
|
Only building the initial full source tree will be a bit painful,
|
|
later, a plain `cvs update -P & make' should be sufficient.
|
|
|
|
* First CVS checkout
|
|
|
|
Obviously, if you are reading these notes, you did manage to check out
|
|
Bison from CVS. For the records, you will find all the relevant
|
|
information on:
|
|
|
|
http://savannah.gnu.org/cvs/?group_id=56
|
|
|
|
The next step is asking the installation of all the missing files:
|
|
|
|
$ ./bootstrap
|
|
|
|
And there you are! Just
|
|
|
|
$ ./configure && make && make check
|
|
|
|
At this point, there should be no difference between your local copy,
|
|
and the CVS master copy:
|
|
|
|
$ cvs diff
|
|
|
|
should output no difference, except maybe the date in po/*.po files.
|
|
|
|
Enjoy!
|
|
|
|
* Troubleshooting
|
|
|
|
Unfortunately the current Gettext still does not include all the
|
|
needed tools so that the bootstrapping always perform successfully.
|
|
|
|
If you experience problems, I suggest the following:
|
|
|
|
1. Do a regular CVS checkout
|
|
|
|
2. Fetch a recent tarball in:
|
|
http://www.lrde.epita.fr/~akim/download/
|
|
|
|
3. Extract it
|
|
|
|
4. Override the content of your checkout with the content of this
|
|
tarball, i.e.:
|
|
cp -r bison-1.49b/* bison-cvs
|
|
|
|
5. Proceed on ./configure && make etc.
|
|
|
|
-----
|
|
|
|
Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
|
|
|
This file is part of GNU Bison.
|
|
|
|
GNU Bison is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
GNU Bison is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Bison; see the file COPYING. If not, write to
|
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA.
|