
12 Aug
2008
12 Aug
'08
5:19 a.m.
$ 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