[Haskell-cafe] HP/Cygwin and Curl

Stephen Tetley stephen.tetley at gmail.com
Mon Jun 7 15:18:59 EDT 2010

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


More information about the Haskell-Cafe mailing list