Re: unable to build in mingw

Jay Sprenkle <[email protected]> Thu, 29 Apr 2010 12:59:48 -0500
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
That's going to be difficult. Windows does not treat file handles the same
as *nix does. A network handle is different than a file handle in Windows.
You need to conditionally compile code that only applies to windows based on
the operating system flags and not the compiler flags. Unfortunately most
code seems to be written based on the MSC compiler flag and doesn't detect
if it's compiled in gcc under windows. mingw does not offer work arounds for
the file handles issue either.

On Thu, Apr 29, 2010 at 12:51 PM, Roger Pack <[email protected]> wrote:

> On Sat, Apr 17, 2010 at 12:30 PM, Jeremy Sandell <[email protected]>
> wrote:
> > Are you running configure?  Looking through the script, it has SYSTEM
> > hard coded to "unix" - the C library built here after changing it to
> > "win32" - the C++ library, not so much.
>
> Cool thanks.
>
> Consider this thread a request to allow building to work with mingw.
> Thanks!
>

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers