cvs commit: src/gnu/usr.bin/gdb/gdb

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Nov 18 06:10:20 PST 2004


On 18.11.2004, at 13:02, Joerg Sonnenberger wrote:
The question is, whether we can change .y.c rule in sys.mk to make it 
-jN
(as pointed out by Brad).
We can't if YFLAGS include -d. Because our yacc has a slightly 
surprising
meaning of the -o option. It does set the name of the c-file and ALSO 
alters
the prefix for the headre file.
Yeah, I was talking about exactly that. I'd really expect -o to *also* 
change the header name. Everything else produces non-deterministic 
behaviour with multiple .y files and -jX.

We should change the .y macros to just use -o and change base to accept 
the "new" (sane) behaviour. Everybody else who needs portability should 
use POSIX rules and no -jX

cheers
  simon
--
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00003.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20041118/c77f135d/attachment-0022.obj>


More information about the Commits mailing list