[Dibbler-devel] parser Makefile changes
Tomasz Mrugalski
thomson at klub.com.pl
Thu Oct 25 07:18:15 CEST 2007
On Wed, 24 Oct 2007 somebody known as Jeff Lange wrote:
> The current makefiles in SrvCfgMgr, ClntCfgMgr, and RelCfgMgr do not
> properly rebuild the files when the parser.y or lexer.l files are changed.
> I've corrected this behavior, and attached is the patch file that fixes
> this.
Thanks. Patch looks nice, I'll check it in right away.
> Also, why are the auto generated lexer.cpp and parser.cpp files checked into
Explanation is easy: I don't want to add extra dependency for building
dibbler. For example, poor folks running Windows would have hard time
installing bison++. Also using different flex/bison++ version may result
in compilation errors. So in general, I agree. It's not elegant solution,
but it is much easier this way. Keep in mind that I had to prepare
packages for various different systems (Debian and Gentoo was the most
difficult), so I wanted to make the compilation as simple as possible.
Also people are compiling dibbler on various platforms, including
low power/low efficiency/embedded devices, so additional requirements may
by difficult for them.
I hope that explains the reasons.
By the way: are you modifying the parsers? May I ask why? Maybe I will be
able to help? Are you developing some kind of extension, perhaps?
> Thanks
You are most welcome.
--
Tomasz Mrugalski, | " Talk is cheap. Show me the code." |
thomson(at)klub(dot)com(dot)pl | Linus Torvalds |
More information about the Dibbler-devel
mailing list