Re: flex for windows

Gus Gassmann <Horand.Gassmann@dal.ca>
Fri, 14 Dec 2007 08:06:10 -0800 (PST)

          From comp.compilers

Related articles
flex for windows Horand.Gassmann@dal.ca (Gus Gassmann) (2007-12-12)
Re: flex for windows julien.hamaide@gmail.com (2007-12-12)
Re: flex for windows tprince@computer.org (Tim Prince) (2007-12-12)
Re: flex for windows timothyprince@sbcglobal.net (Tim Prince) (2007-12-13)
Re: flex for windows gneuner2@comcast.net (George Neuner) (2007-12-13)
Re: flex for windows DrDiettrich1@aol.com (Hans-Peter Diettrich) (2007-12-13)
Re: flex for windows Horand.Gassmann@dal.ca (Gus Gassmann) (2007-12-14)
Re: flex for windows timothyprince@sbcglobal.net (tim prince) (2007-12-14)
Re: flex for windows DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-01-06)
Re: flex for windows DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-01-06)
Re: flex for windows dickey@saltmine.radix.net (Thomas Dickey) (2008-01-06)
Re: flex for windows dickey@saltmine.radix.net (Thomas Dickey) (2008-01-06)
Re: flex for windows agdjh@gasjgdjagjdagdgaj.com (Gary R. Van Sickle) (2008-01-06)
[5 later articles]
| List of all articles for this month |

From: Gus Gassmann <Horand.Gassmann@dal.ca>
Newsgroups: comp.compilers,comp.lang.c
Date: Fri, 14 Dec 2007 08:06:10 -0800 (PST)
Organization: Compilers Central
References: 07-12-040 07-12-043 07-12-047
Keywords: lex, Windows

On 13 Dec, 08:12, Tim Prince <timothypri...@sbcglobal.net> wrote:
> >> One of the lex files uses %option reentrant, which flex refuses to
> >> compile. I am running version 2.5.4 under windows. ...
> > I ran into the same problems some time ago. The only solution I found
> > was to compile a newer version using cygwin. I haven't found any
> > binaries of the 2.5.33 for windows at that time. ...
>
> Part of the problem seems to be that flex has added features which
> can't be supported fully without some posix environment. There are
> plenty of suggestions on line about flex for mingw. You can't say you
> want cygwin capabilities and in the same breath you want everything to
> happen automagically without them.


Can't say I understand any of this. Someone handed me a .l file with
%option reentrant in it. I work in a Windows environment, but I have
to get that .l file compiled somehow.


Following this discussion, I found mingw and thought I installed it; I
downloaded flex 2.5.33 and thought I installed it, but it complains
that it can't find a .dll called msys-regex-0.dll. Now what?


Is there anyone kind (and knowledgeable) enough to help out a
desperate soul in a fix? I know I am asking for a lot, but I am hoping
that there is somewhere in this great world that is the internet a
step by step procedure I can follow. (As in 1. Download this file from
here. 2. Install to that directory. 3. Download and install that file
there. etc.)


Thanks a million.


gus


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.