help-bison
[Top][All Lists]
Advanced

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

Re: I got an error using Bison


From: Philip Herron
Subject: Re: I got an error using Bison
Date: Fri, 13 Nov 2009 16:22:50 +0000

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 <address@hidden>:
> 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
>
>
>
> _______________________________________________
> address@hidden http://lists.gnu.org/mailman/listinfo/help-bison
>




reply via email to

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