[Haskell-cafe] GLfloat on a Mac

Malcolm Wallace malcolm.wallace at cs.york.ac.uk
Tue Aug 12 05:19:53 EDT 2008


> $ 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.

Not much help, but it compiles fine for me using ghc-6.8.3 on an iBook  
G4.  I'm running MacOS 10.5.4, with gcc-4.0.1.  Is it possible you  
have an older version of XCode (Apple's developer tools including gcc)?

Regards,
     Malcolm



More information about the Haskell-Cafe mailing list