help-bison
[Top][All Lists]
Advanced

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

Re: bison 2.4.1 on Msys Win7 /usr/local/share/bison/m4sugar/m4sugar.m4


From: Gus Gassmann
Subject: Re: bison 2.4.1 on Msys Win7 /usr/local/share/bison/m4sugar/m4sugar.m4
Date: Wed, 13 Apr 2011 11:50:36 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Dick Dunbar <dick.dunbar <at> gmail.com> writes:

[...]

Found this old message and thought I'd reply since I have a similar question and
have yet to figure out how to post...

I am using bison 2.3 in MSYS. The setup works for me, but I( have recently
become a bit more ambitious. What I would like to do is embed the bison command
into a Visual Studio build. The bison executable under MSYS is a Windows
executable, so this ought to work (it does work with flex), but I get an error
about not finding m4sugar.m4. Is there a command line option I could use to
override the default location?

Just to be perfectly clear:

bison -ldv -p osil -o OSParseosil.tab.cpp OSParseosil.y

works inside an MSYS box, but inside a DOS box gives me the error

bison: cannot open file `/usr/share/bison/m4sugar/m4sugar.m4': No such file or
directory

Is there a way that I can get this command to run in a DOS box?





reply via email to

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