What platform is GHC for Windows built on?

Simon Marlow marlowsd at gmail.com
Thu May 14 05:08:33 EDT 2009

On 13/05/2009 17:05, Bryan O'Sullivan wrote:
> On Wed, May 13, 2009 at 12:50 AM, Simon Marlow <marlowsd at gmail.com
> <mailto:marlowsd at gmail.com>> wrote:
>     One option is to check for its existence at runtime.  Take a look at
>     http://darcs.haskell.org/packages/directory/cbits/directory.c
>     for an example of somewhere else we do this.
>     GHC currently works on (allegedly) NT4 and later.
> Are the prepackaged binaries built on NT4 too? I found a way to get
> getaddrinfo detected it works properly (which somewhat shocked me), but
> I have no way to test it on obsolete Windows releases.
> I can write a DLL-based shim that will look in ws2_32.dll first, then
> the older IPv6 preview code in wship6.dll, and if neither one is
> present, it will simply fail. If I do that, do you have a way to test it
> on, say, Windows 2000 or 2003 Server or such?

Yep, we use 2003 Server to build all our Windows bundles.


More information about the Libraries mailing list