[Haskell-cafe] running HGL on OSX

Vojtěch Knyttl knyttv at gmail.com
Mon Feb 15 00:57:56 EST 2010

Thanks for reply – another issue is with ghc:

$ ghc --make graphics.hs -lHSrts -lSystemStubs
(the only way which I found to compile correctly on OSX)

will compile okay and will run okay, but the program runs slowly and consumes only 15 % of processor in average. In GHCI, it consumes easily 100 % and runs even a bit more fast...


On Feb 14, 2010, at 11:35, Yuras Shumovich wrote:

>> Loading package X11- ... can't load .so/.DLL for: X11 (dlopen(libX11.dylib, 9): image not found)
> try
> DYLD_LIBRARY_PATH=/usr/X11R6/lib ghci graphics.hs
> http://hackage.haskell.org/trac/ghc/ticket/1019

More information about the Haskell-Cafe mailing list