[Haskell-cafe] GLfloat on a Mac

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Tue Aug 12 05:18:44 EDT 2008

On 2008 Aug 12, at 5:11, Conor McBride wrote:

> $ ghc -package GLUT HelloWorld.lhs -o HelloWorld
> Illegal instruction
> I'm using ghc 6.8.3 on a Mac PowerBook G4. Googling
> "OpenGL illegal instruction" produced an unending
> choice of horror stories.
> What message am I not getting? Is there some crucial
> manual I'm not reading? Is there something which we
> should be being told on the relevant wiki page?

You need to find (or build) a G4-compatible ghc; the 6.8.3 build for  
Leopard (and Tiger?) was built for a G5, and the above is the result.

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the Haskell-Cafe mailing list