avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] make depend


From: Theodore A. Roth
Subject: Re: [avrdude-dev] make depend
Date: Tue, 11 Feb 2003 14:01:14 -0800 (PST)


On Tue, 11 Feb 2003, Joerg Wunsch wrote:

:) As Theodore A. Roth wrote:
:)
:) > Ok. I'll leave the YACC=byacc line for now. We can remove it once the
:) > grammar is bison friendly.
:)
:) The grammar was already bison-friendly enough. ;-)  The include order
:) wasn't, includes should go between %{ and %} on top, i've fixed this.
:) (byacc doesn't seem to care, bison does.)

Groovy.

:)
:) The remaining incompatibility is one of bison's idiosyncracies:
:) instead of defaulting to the hysterical yacc way of generating
:) y.tab.c/y.tab.h, it defaults to ${sourcename:h}.tab.[ch].  I can be
:) made yacc-compatible with -y, but of course, yacc would not understand
:) that.  (I understand that the y.tab.[ch] way sucks, but changing
:) defaults in something that is meant to be a replacement sucks even
:) more...)

I had a feeling we'd get bit by that.

:)
:) The only Linux box i've got access to defaults to yacc, not bison (a
:) SuSE Linux).  Suppose you turn the YFLAGS= line into a YFLAGS += one,
:) maybe your Linuxen would default to bison -y then?

I'd say we just use byacc for now. It looks like Eric can handle that

:)
:) I guess we can't avoid autoconf/automake in the long run. :-(

Yeah, I reluctant to bring that up, but it might have to happen.
Should I get that started?

Ted





reply via email to

[Prev in Thread] Current Thread [Next in Thread]