[Haskell-cafe] Trying to build a stand-alone executable GLUT app with ghc, Windows XP

Austin Seipp mad.one at gmail.com
Fri Apr 25 22:22:50 EDT 2008

Perhaps try:

$ ghc --make -static -optl-static -l<path to libHSGLUT.a here> x.hs

The -optl-static passes the '-static' argument to ld so it will link
statically; you may also need a copy of a compatable GLUT library in .a
format on your windows machine which should be linked in with -l as well
(where you can get this, I do not know.)

"It was in the days of the rains that their prayers went up, 
not from the fingering of knotted prayer cords or the spinning 
of prayer wheels, but from the great pray-machine in the
monastery of Ratri, goddess of the Night."
 Roger Zelazny

More information about the Haskell-Cafe mailing list