]>
Commit | Line | Data |
---|---|---|
3cedc2dc AD |
1 | A directory of tools provided to people using CVS Bison. None of |
2 | these is distributed. | |
3 | ||
4 | * bench.pl | |
5 | A primitive Perl script to run benches. Currently its only bench is | |
6 | the usual calculator: it has a lightweight processing part (but not | |
7 | null), so it is really emphasizing the cost of the whole parsing | |
8 | (including scanning and I/O). | |
9 | ||
10 | Set the envvars BISON and CC to the programs and flags you want to | |
11 | use. They default to bison and gcc. To run a non-installed bison | |
12 | from a tarball built in _build, I suggest the following. | |
13 | ||
14 | BISON=_build/tests/bison CC='gcc -O2' ./bench.pl | |
15 | ||
16 | (The _build/tests/bison wrapper makes sure that _build/src/bison will | |
17 | use the tarballs' skeletons, not those already installed as a | |
18 | straightforward use of _build/src/bison would.) | |
19 | ||
20 | -- | |
21 | ||
22 | Copyright (C) 2006 Free Software Foundation, Inc. | |
23 | ||
24 | This file is part of Bison, the GNU Compiler Compiler. | |
25 | ||
26 | Bison is free software; you can redistribute it and/or modify | |
27 | it under the terms of the GNU General Public License as published by | |
28 | the Free Software Foundation; either version 2, or (at your option) | |
29 | any later version. | |
30 | ||
31 | Bison is distributed in the hope that it will be useful, | |
32 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
33 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
34 | GNU General Public License for more details. | |
35 | ||
36 | You should have received a copy of the GNU General Public License | |
37 | along with autoconf; see the file COPYING. If not, write to | |
38 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
39 | Boston, MA 02110-1301, USA. | |
40 | ||
41 | Local Variables: | |
42 | mode: outline | |
43 | End: |