[Haskell-cafe] : cabal install SDL
stephen.tetley at gmail.com
Sun Dec 27 15:52:13 EST 2009
2009/12/27 Lie Ryan <lie.1296 at gmail.com>:
> [SNIP...] (i.e. can I use
> the resultant SDL-binding outside Cygwin?)
The short answers is "yes" - once you have the Haskell binding
installed will need only the .exe of your (Haskell) application
compiled by GHC and the SDL.dll .
The long answer is that this was true for whichever GHC I was using a
year ago (probably 6.10.1) so should still be true now but isn't
guaranteed. Installing the development packages for SDL was a bit
convoluted a year ago - cygwin needs the DirectX headers. Also I
think you might have to compile to an exe each time - I seem to
remember you couldn't develop with SDL and GHCi.
More information about the Haskell-Cafe