This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Configure patch] Issue error if bison not found
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Craig Rodrigues <rodrigc at attbi dot com>
- Cc: Hans-Peter Nilsson <hp at bitrange dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 28 Nov 2002 11:40:33 +0000 (GMT)
- Subject: Re: [Configure patch] Issue error if bison not found
On Thu, 28 Nov 2002, Craig Rodrigues wrote:
> : -y -d --name-prefix=__gettext --output plural.c ../../../gcc-3.2.1/gcc/intl/pl
> ural.y
> rm -f plural.h
> gcc -c -DIN_GCC -DLOCALEDIR=\"/home/rodrigc/release/gcctest/share/locale\" -DLOC
> ALE_ALIAS_PATH=\"/home/rodrigc/release/gcctest/share/locale\" -DLIBDIR=\"/home/
> rodrigc/release/gcctest/lib\" -DHAVE_CONFIG_H -I.. -I. -I../../../gcc-3.2.1/gcc/
> intl -I../../../gcc-3.2.1/gcc -I../../../gcc-3.2.1/gcc/config -I../../../gcc-3.
> 2.1/gcc/../include -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-pr
> ototypes -Wtraditional -pedantic -Wno-long-long plural.c -o plural.o
> gcc: plural.c: No such file or directory
plural.c is in the source directory (in CVS, in fact - it shouldn't really
be, but the release script would then need changes to build it even when
the installed libc includes recent GNU libintl so the intl directory
doesn't need to be built). It ought to be listed in contrib/gcc_update to
ensure the timestamp is right, but I don't know whether there's any other
underlying problem here.
In any case, it's clearly documented that Bison isn't needed to build
releases, and changing configure to force the issue without changing the
documentation just perpetuates any bug that this doesn't work.
--
Joseph S. Myers
jsm28@cam.ac.uk