On Jan 10, 2009, at 3:59 PM, "rob1weld at aol dot com" <gcc-bugzi...@gcc.gnu.org
> wrote:
------- Comment #3 from rob1weld at aol dot com 2009-01-10 23:59
-------
(In reply to comment #1)
Is this still true in newer GCC releases? Also this was removed in
4.3 and
above.
Yes, on trunk. Searching for dupe before starting a new Bug Report,
came here.
We might close this Bug with a comment on the Prerequisites page
that you
_might_ need bison in the event that you (or a Makefile, broken or
otherwise)
modify a `.y' file.
This webpage does not mention the program bison:
Prerequisites for GCC
http://gcc.gnu.org/install/prerequisites.html
We only require yacc (bison is a yacc) when compiling GCC from the svn
or from the snapshots. Plus most os's already contain a yacc.
# prev-gcc/xgcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc_trunk/configure
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared
--disable-static --enable-decimal-float --with-long-double-128 --
enable-nls
--with-included-gettext --enable-gather-detailed-mem-stats --with-
stabs
--enable-debug -enable-largefile --enable-symvers --without-system-
zlib
--enable-gtk-cairo --enable-qt-peer --enable-xmlj --enable-gconf-peer
--enable-gjdoc --enable-java-awt=gtk,xlib,qt,x --enable-gc-debug
--enable-libgcj-multifile --enable-libgcj-debug --enable-objc-gc
--enable-libstdcxx-debug --enable-stage1-checking --enable-
checking=release
--without-system-libunwind --with-gnu-as --with-as=/usr/local/bin/as
--with-gnu-ld --with-ld=/usr/local/bin/ld
Thread model: posix
gcc version 4.4.0 20090109 (experimental) (GCC)
# gmake
...
gmake[3]: Leaving directory `/usr/share/src/gcc_build/libiberty'
gmake[3]: Entering directory `/usr/share/src/gcc_build/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
cp ../../gcc_trunk/intl/libgnuintl.h libintl.h
/usr/share/src/gcc_build/./prev-gcc/xgcc ...
...
/usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/
gcc_build/./prev-gcc/
-B/usr/local/i386-pc-solaris2.11/bin/ -c -fexceptions -g -O2 -
fprofile-use
-DHAVE_CONFIG_H -I. -I../../gcc_trunk/intl ../../gcc_trunk/intl/
ngettext.c
../../gcc_trunk/intl/ngettext.c: In function ‘libintl_ngettext’:
../../gcc_trunk/intl/ngettext.c:63: note: file
/usr/share/src/gcc_build/intl/ngettext.gcda not found, execution
counts
estimated
bison -y --name-prefix=__gettext --output plural.c
../../gcc_trunk/intl/plural.y
rm -f plural.h
/usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/
gcc_build/./prev-gcc/
-B/usr/local/i386-pc-solaris2.11/bin/ -c -fexceptions -g -O2 -
fprofile-use
-DHAVE_CONFIG_H -I. -I../../gcc_trunk/intl plural.c
...
I did not modify a `.y' file or play with this part of the code. The
reason
that I require bison is either:
1. I 'hit it' with my configure option combination and found an
untried path.
2. Typing "make distclean" removed a file (I did not see that happen).
3. Something is broken and bison was not really needed.
4. The "Prerequisites for GCC" is incorrect, we do need bison.
Rob
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35211