On Sun, May 9, 2010 at 3:23 PM, Hans Aberg <haber...@telia.com> wrote:
> On 9 May 2010, at 22:59, Dick Dunbar wrote: > > $ bison -d -y jamgram.y >> C:\Msys\local\bin\bison.exe: cannot open file >> `/usr/local/share/bison/m4sugar/m4sugar.m4': No such file or directory >> $ ls -l /usr/local/share/bison/m4sugar/m4sugar.m4 >> -rw-r--r-- 1 dick Administrators 98348 May 8 16:19 >> /usr/local/share/bison/m4sugar/m4sugar.m4 >> >> I installed initially from: bison-2.4.1-1-msys-1.0.11-bin.tar.lzma >> Then built the code from: bison-2.4.2 source (gnu.org) >> >> Any suggestions? >> > > When building, you must somehow set the PREFIX so that it is your directory > \Msys\ instead of /usr/, plus that the slashes go the other directions than > on Unix-like systems. In addition, Bison uses M4, which must be installed. > > I'm not sure how that works out on Windows systems - check the files > INSTALL, configure and Makefile. - Hopefully somebody else here will provide > more info. Thanks Hans, So ... Msys builds Windows executables And ... I have to specify Windows-style directory names? Notice the "mixed message" that I got .... executable in C:\Msys .... and missing file in the style of the Msys shell. I should have mentioned, that this works perfectly on cygwin. I'm now trying to build the cygwin sources on Msys and cygwin to see if I can get a working pgm. Note also, that bison was initially installed from the binary distro ... I didn't build it ... it just didn't work. _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison