
I am not able to compile using -fllvm. Macintosh-0026bb610428:tmp mukesh$ ghc-7.4.1 -fllvm Hello.hs /var/folders/b9/87kwc2nj7xd2qjt996h3635c0000gq/T/cc-btI6Vk.s:201:2: error: instruction requires a CPU feature not currently enabled jmpl *%eax ## TAILCALL ^ /var/folders/b9/87kwc2nj7xd2qjt996h3635c0000gq/T/cc-btI6Vk.s:207:2: error: instruction requires a CPU feature not currently enabled jmpl *%eax ## TAILCALL Error running clang! you need clang installed to use the LLVM backend However with ghc-7.2.1 , It compiles and run. Macintosh-0026bb610428:tmp mukesh$ ghc-7.2.1 -fllvm Hello.hs Macintosh-0026bb610428:tmp mukesh$ ./Hello Hello Haskell Regards Mukesh Tiwari On Fri, Feb 10, 2012 at 12:41 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
It may be a problem with the gloss / opengl dependencies? do you have those packages installed?
I had similar trouble earlier this week wrt dph-examples, and that was the root of the matter in my case
-Carter
On Thu, Feb 9, 2012 at 7:04 PM, Ben Lippmeier
wrote: On 10/02/2012, at 6:12 AM, mukesh tiwari wrote:
Hello all I am trying to install dph-examples on Mac OS X version 10.7.3 but getting this error http://hpaste.org/57699. I am using ghc-7.4.1.
This probably isn't DPH specific. Can you compile a "hello world" program with -fllvm?
Ben.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe