[Top][All Lists]

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

Re: bison - MSYS - Windows/DOS

From: Luca
Subject: Re: bison - MSYS - Windows/DOS
Date: Thu, 14 Apr 2011 21:35:01 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv: Gecko/20110303 Thunderbird/3.1.9

Il 13/04/2011 21.22, Gus Gassmann ha scritto:
Luca<yelsma<at>>  writes:

You can run bison from a batch file,
then add the batch file to a VS post build event ,
but you have to add bison to your path, e.g:

I don't think that is enough. The bison executable is on the path. (In fact, I
can put it into the working directory, and I get the same error.) The problem
concerns the file m4sugar.m4. Even if I place this file on the path and into the
same directory as bison.exe, it doesn't work. How can I tell bison to look
somewhere other than in
/usr/share/bison/m4sugar/m4sugar.m4? This is not a DOS style directory address,
so I have a bit of trouble understanding what to do. Is there an environmental
variable I could set? Do I have to reinstall bison with some different options?
Is it possible at all to do what I want?


Some time ago I downloaded bison from:
and I fixed the same problem adding the executable to the path.

Anyway, building bison from source using cygwin should fix the problem.


reply via email to

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