mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
package: make bison a relocatable package
Suggested by David Barto https://lists.gnu.org/archive/html/help-bison/2015-02/msg00004.html and Victor Zverovich. https://lists.gnu.org/archive/html/bison-patches/2018-10/msg00121.html This is very easy to do, thanks to work by Bruno Haible in gnulib. See "Supporting Relocation" in gnulib's documentation. * bootstrap.conf: We need relocatable-prog and relocatable-script (for yacc). * src/yacc.in: New. * configure.ac, src/local.mk: Instantiate it. * src/main.c, src/output.c (main, pkgdatadir): Use relocatable2. * doc/bison.texi (FAQ): Document it.
This commit is contained in:
1
doc/.gitignore
vendored
1
doc/.gitignore
vendored
@@ -30,3 +30,4 @@
|
||||
/stamp-vti
|
||||
/version.texi
|
||||
/yacc.1
|
||||
/relocatable.texi
|
||||
|
||||
@@ -382,6 +382,7 @@ Frequently Asked Questions
|
||||
* Strings are Destroyed:: @code{yylval} Loses Track of Strings
|
||||
* Implementing Gotos/Loops:: Control Flow in the Calculator
|
||||
* Multiple start-symbols:: Factoring closely related grammars
|
||||
* Enabling Relocatability:: Moving Bison/using it through network shares
|
||||
* Secure? Conform?:: Is Bison POSIX safe?
|
||||
* I can't build Bison:: Troubleshooting
|
||||
* Where can I find help?:: Troubleshouting
|
||||
@@ -12875,6 +12876,7 @@ are addressed.
|
||||
* Implementing Gotos/Loops:: Control Flow in the Calculator
|
||||
* Multiple start-symbols:: Factoring closely related grammars
|
||||
* Secure? Conform?:: Is Bison POSIX safe?
|
||||
* Enabling Relocatability:: Moving Bison/using it through network shares
|
||||
* I can't build Bison:: Troubleshooting
|
||||
* Where can I find help?:: Troubleshouting
|
||||
* Bug Reports:: Troublereporting
|
||||
@@ -13156,6 +13158,8 @@ However, Bison is intended to be a reliable program that conforms to the
|
||||
POSIX specification for Yacc. If you run into problems, please send us a
|
||||
bug report.
|
||||
|
||||
@include relocatable.texi
|
||||
|
||||
@node I can't build Bison
|
||||
@section I can't build Bison
|
||||
|
||||
@@ -13209,7 +13213,7 @@ hearts.
|
||||
I found a bug. What should I include in the bug report?
|
||||
@end quotation
|
||||
|
||||
Before you send a bug report, make sure you are using the latest
|
||||
Before sending a bug report, make sure you are using the latest
|
||||
version. Check @url{https://ftp.gnu.org/pub/gnu/bison/} or one of its
|
||||
mirrors. Be sure to include the version number in your bug report. If
|
||||
the bug is present in the latest version but not in a previous version,
|
||||
|
||||
@@ -19,7 +19,8 @@ info_TEXINFOS = doc/bison.texi
|
||||
doc_bison_TEXINFOS = \
|
||||
$(CROSS_OPTIONS_TEXI) \
|
||||
doc/fdl.texi \
|
||||
doc/gpl-3.0.texi
|
||||
doc/gpl-3.0.texi \
|
||||
doc/relocatable.texi
|
||||
|
||||
# Cannot express dependencies directly on file names because of Automake.
|
||||
# Obfuscate with a variable.
|
||||
|
||||
Reference in New Issue
Block a user