Subject: cross build hpcmips on Linux host fails with YACC= nothing
To: None <>
From: Jeremy C. Reed <>
List: tech-toolchain
Date: 04/27/2005 23:42:16
Please CC me on replies.

ap ""
e.y itbl-parse.c itbl-parse.h -- -d
 86: -d: command not found

This can be seen in my
which has:

itbl-parse.c itbl-parse.h: $(srcdir)/itbl-parse.y
        $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/itbl-parse.y itbl-parse.c itbl-parse.h -- -d

For some reason that $(YACC) is not expanded.

Earlier same Makefile has:

YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y
-L../bison/bison ; else echo /netbsd/hpcmips/tools/bin/nbyacc ; fi`

The config.log (in same directory) says:


My build logs show:


This nbyacc does exist.

Any ideas?

Please carbon copy me on replies. Thank you.

 Jeremy C. Reed

 	  	 	 open source, Unix, *BSD, Linux training