Re: Winflex - Mailing list pgsql-hackers

From Petr Jelinek
Subject Re: Winflex
Date
Msg-id 4B25217F.5050303@pjmodos.net
Whole thread Raw
In response to Re: Winflex  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Winflex  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Magnus Hagander napsal(a): <blockquote cite="mid:9837222c0912130329i1eb8d075u7996b4f92b41390a@mail.gmail.com"
type="cite"><prewrap="">On Sun, Dec 13, 2009 at 11:36, Dave Page <a class="moz-txt-link-rfc2396E"
href="mailto:dpage@pgadmin.org"><dpage@pgadmin.org></a>wrote: </pre><blockquote type="cite"><pre wrap="">On Sun,
Dec13, 2009 at 5:42 AM, Andrew Dunstan <a class="moz-txt-link-rfc2396E"
href="mailto:andrew@dunslane.net"><andrew@dunslane.net></a>wrote:   </pre><blockquote type="cite"><pre
wrap="">Yes.I spent a few cents and a few hours wrestling with it. AFAICT your are
 
hosed on 64bit Windows. I can't get flex built and Cygwin is behaving very
oddly. There are indications that the problem could be fairly deep - see
<a class="moz-txt-link-rfc2396E"
href="http://www.mail-archive.com/cygwin@cygwin.com/msg102463.html"><http://www.mail-archive.com/cygwin@cygwin.com/msg102463.html></a>
   </pre></blockquote><pre wrap="">What Linda describes there is all normal behaviour for a 32 bit app on
 
64 bit Windows. Windows is providing a virtual 32 bit environment,
where for the most part the 32 bit app doesn't realise it's running on
64 bit. Unfortunately there are always things that look a bit odd due
to this, but normally I've found that the 32bit code runs fine, it
just looks odd from Explorer or 64 bit apps because of the
folder/registry redirection that happens behind the scenes.   </pre></blockquote><pre wrap="">
Yeah, none of that should have an effect on a tool like "flex", though... </pre></blockquote><br /> I think the actual
problemis the implementation of fork emulation which changed in 1.7.<br /><br /><br /><blockquote
cite="mid:9837222c0912130329i1eb8d075u7996b4f92b41390a@mail.gmail.com"type="cite"><blockquote type="cite"><blockquote
type="cite"><prewrap="">I can try again with Cygwin 1.7. and see if that improves matters, but I bet
 
it doesn't.     </pre></blockquote></blockquote><pre wrap=""></pre></blockquote><br /> Cygwin 1.7.0-52 (iirc) with flex
worksfor me on x64 Vista.<br /><br /><br /><blockquote
cite="mid:9837222c0912130329i1eb8d075u7996b4f92b41390a@mail.gmail.com"type="cite"><blockquote type="cite"><pre
wrap="">Whatabout msys? Or is that not capable of building the newer versions of flex?   </pre></blockquote><pre
wrap="">
IIRC we looked at that before, and that one is also limited to the
version before they started doing fork() (that was the problem with
the newer ones and gnuwin32, iirc) </pre></blockquote><br /> No they have newest flex, but the whole thing is even more
brokenon 64bit then (old) cygwin version - it just exits without doing anything and does not even report any errors.<br
/><br/><pre class="moz-signature" cols="72">-- 
 
Regards
Petr Jelinek (PJMODOS)</pre>

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Winflex
Next
From: Joe Conway
Date:
Subject: compiling with Visual Studio