Re: flex for windows

Hans-Peter Diettrich <DrDiettrich1@aol.com>
Sun, 6 Jan 2008 17:58:43 -0500 (EST)

          From comp.compilers

Related articles
[2 earlier articles]
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)
Re: flex for windows tprince@computer.org (Tim Prince) (2008-01-06)
Re: flex for windows DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-01-07)
[3 later articles]
| List of all articles for this month |

From: Hans-Peter Diettrich <DrDiettrich1@aol.com>
Newsgroups: comp.compilers,comp.lang.c
Date: Sun, 6 Jan 2008 17:58:43 -0500 (EST)
Organization: Compilers Central
References: 07-12-040 07-12-043 07-12-047 07-12-053 07-12-056
Keywords: lex, Windows
Posted-Date: 06 Jan 2008 17:58:43 EST

tim prince wrote:


> Cygwin configures and builds current flex "out of the box," and I get
> only 1 adverse indication in the testsuite. Your recommendation to
> use linux amounts to using a posix environment, more so than
> cygwin. So, I'm not convinced by any of these suggestions that
> avoiding posix emulations makes it easier.


Compiling to native code, for the actual target platform, eliminates
many problems in the later use of tools or libraries.


Like Wine for Linux, CygWin and MinGW are not *extensions* to the host
OS, they only open a *narrow* window into a different world. The use of
the output is restricted to the same emulator box.


With regards to autobloat, it's up to the author of the source code,
which target platform he wants to support. When he is a member of the
hate-Windows fraction, or simply doesn't care about non-POSIX platforms,
the configuration of his project will fail in CygWin, leaving the user
with uncompilable code. Autobloat is not only a tool set for making
projects platform independent, at the same time it allows to effectively
exclude platforms as well :-(


DoDi


Post a followup to this message

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