This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Problem crosscompiling for MIPS (YLWRAP undefined!)
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: Problem crosscompiling for MIPS (YLWRAP undefined!)
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Tue, 20 Jun 2000 13:44:35 -0700
- Cc: binutils at sourceware dot cygnus dot com
- References: <u8vgz4tc42.fsf@gromit.rhein-neckar.de>
On Tue, Jun 20, 2000 at 08:56:45PM +0200, Andreas Jaeger wrote:
>
> I'm trying to do a cross build from i686-linux to mipsel-linux of the
> current binutils CVS version and got a build failure in the gas subdirectory.
>
> config.status contains:
> # /cvs/binutils-gdb-ln/gas/configure --host=i686-pc-linux-gnu --target=mipsel-linux --prefix=/opt/mips-cross --srcdir=/cvs/binutils-gdb-ln/gas --with-stabs --with-gnu-as --with-gnu-ld --enable-shared=no --enable-static=yes --enable-build-warnings --disable-nls --cache-file=../config.cache
>
>
> Running make aborts with:
> make[2]: Entering directory `/builds/sourceware-src/mips-cross/gas'
> /bin/sh "`if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`" /cvs/binutils-gdb-ln/gas/itbl-parse.y y.tab.c itbl-parse.c y.tab.h itbl-parse.h -- -d
> bison -y: bison -y: No such file or directory
>
> The problem is this rule in Makefile.am:
> itbl-parse.c itbl-parse.h: $(srcdir)/itbl-parse.y
> $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/itbl-parse.y y.tab.c itbl-parse.c y.tab.h itbl-parse.h -- -d
>
> YLWRAP seems to be undefined - and I don't see any place where it gets
> a value.
>
I rebuilt and checked in
ld/Makefile.am
ld/Makefile.in
gas/Makefile.am
gas/Makefile.in
gas/configure
gas/doc/Makefile.in
bfd/Makefile.am
bfd/Makefile.in
opcodes/Makefile.am
opcodes/Makefile.in
Please let me know if there are any problems.
Thanks.
H.J.