[jhc] jhc and sdl

Henning Thielemann jhc at henning-thielemann.de
Sat Aug 7 17:13:48 EDT 2010


On Sat, 7 Aug 2010, Korcan Hussein wrote:

> You need to specify the haskell libraries you're going to use, and also typically for FFI bindings you'll need get jhc to tell the c compiler which c library to link to, so to compile your example would be:
>
> jhc -p SDL test.hs -o test --optc='-lSDL'

... that's why I tried to adapt Cabal to newer JHC versions.


More information about the jhc mailing list