I was able to use Bison in combination with MS Visual C++ by using DJGPP: http://www.delorie.com/djgpp/
I considered using Cygwin, but it seemed easier to use DJGPP so I never looked into Cygwin further. Laurence Finston -------- Original-Nachricht -------- > Datum: Fri, 13 Nov 2009 16:22:50 +0000 > Von: Philip Herron <herron.phi...@googlemail.com> > An: Andres Soto <soto_and...@yahoo.com> > CC: help-bison@gnu.org > Betreff: Re: I got an error using Bison > Hey > > I am not sure if this will work since i don't have access to windows > at home, but i remember some people have good success using cygwin to > do this kind of work in, instead of trying to make the single program > work with windows which can be painful, due to the reasons you > mentioned. > > http://www.cygwin.com/ > > Gives you a UNIX'y system to do work in, so the program installs a > kind of shell you can run and when your installing it you can choose > like loads of small unix'y bits and pieces to play with, and i am > pretty sure bison will be in there. Though i prefer to use automake to > handle my stuff or 'yacc -d' since most systems will alias bison with > a yacc equivalent. > > Hope this works for you. > > --Phil > > 2009/11/11 Andres Soto <soto_and...@yahoo.com>: > > Hi, I am using bison-2.4.1 for Windows. I have it already installed > in C:\Archivos de programa\GnuWin32\I'm trying to compile with Bison an > example given in Appendix A of "Compiler Construction using Flex and > > Bison" by Anthony A. Aaby, Version of February 25, 2004. I saved the > example in a file called simple.y. I compiled it by typing bison -vd > simple.y and I got the following output > > simple.y: conflictos: 39 desplazamiento(s)/reduccion(ones) > > > > m4: cannot > > open ‘de’: No such file or directory > > > > m4: cannot > > open ‘programa\GnuWin32/share/bison’: No such file or directory > > > > m4: cannot > > open ‘C:\Archivos’: No such file or directory > > > > m4: cannot > > open ‘de’: No such file or directory > > > > m4: cannot > > open ‘programa\GnuWin32/share/bison/m4sugar/m4sugar.m4’: No such > file or > > directory > > As I can see, there is a problem with / and \ but I don't know why. I > think it is something related with Unix-like paths but...What can I do?thanks > for your help in advance > > Andrés Soto > > > > > > > > _______________________________________________ > > help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison > > > > > _______________________________________________ > help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison