
Thanks ever so much for your clear answer. I have no problem at all with using MSYS to build libraries that link to libraries built in Windows land--this seems entirely reasonable. Is this written down somewhere? I mean I really would like to RTFM! :-) Also, what's with C:\Program Files\Haskell Platform\2010.1.0.0\lib\..\mingw\bin\windres: can't open temporary file `\/cca01252.irc': No such file or directory Chris -----Original Message----- From: Stephen Tetley [mailto:stephen.tetley@gmail.com] Sent: 07 June 2010 20:19 To: Chris Dornan Cc: Haskell-Cafe@haskell.org Subject: Re: [Haskell-cafe] HP/Cygwin and Curl Hi Chris HP can be used fine with Cygwin. Where a library in the HP is a binding to a C library, the HP supplies the relevant C library as an *.a file, e.g libglu32.a and libglut32.a for OpenGL. Pure Haskell libraries will install fine under Cygwin as well. Bindings to additional C libraries like Curl are problematic, for one thing Cygwin static libraries have a different object format to MinGW ones. With effort and knowledge, FFI libraries/bindings can be made to work with Cygwin but I don't think anyone is looking at this systematically (and documenting their methods). Practically speaking using MinGW / MSYS to build and install bindings is the solution. Best wishes Stephen