Subject: Re: Cannot specify output file names in yacc(1)
To: Christos Zoulas <christos@deshaw.com>
From: J.T. Conklin <jconklin@netcom.com>
List: tech-userlevel
Date: 09/27/1995 09:46:44
> Unfortunately yacc always writes its output in y.tab.c and optionally
> y.tab.h and y.code.c. This breaks when pmake runs multiple yacc's in
> parallel [e.g. in the gdb directory]. Should we add a flag to specify
> the output filename prefix?
I believe that our yacc already implements the "-b" switch to set the
filename prefix as required by POSIX.2. All we need do is to update
the makefile to use it.
Alternatively, the current (what will be GDB 4.15) makefiles have lots
of hair that serializes yacc invocations via dependancies.
--jtc