What platform is GHC for Windows built on?
marlowsd at gmail.com
Wed May 13 03:50:47 EDT 2009
On 13/05/2009 07:42, Bryan O'Sullivan wrote:
> I'm trying to solve a knotty problem with the network package on Windows
> at the moment:
> This looks innocuous - the getaddrinfo function isn't available - but
> it's proving tricky to actually fix. In addition, I'm worried that if I
> do fix it (i.e. I can get autoconf to notice that getaddrinfo is really
> present), that the next binary release of GHC or the Platform on Windows
> might accidentally not work on releases of Windows older than XP,
> depending on what kind of host the code is built on.
One option is to check for its existence at runtime. Take a look at
for an example of somewhere else we do this.
GHC currently works on (allegedly) NT4 and later.
More information about the Libraries