[FASTCGI] unable to build in mingw

Jay Sprenkle jsprenkle at gmail.com
Thu Apr 29 13:59:48 EDT 2010


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 <rogerdpack2 at gmail.com> wrote:

> On Sat, Apr 17, 2010 at 12:30 PM, Jeremy Sandell <jlsandell at gmail.com>
> 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!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20100429/7c975a5c/attachment.html>


More information about the FastCGI-developers mailing list