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.