I am not able to compile using -fllvm. <br>Macintosh-0026bb610428:tmp mukesh$ ghc-7.4.1 -fllvm Hello.hs <br><br>/var/folders/b9/87kwc2nj7xd2qjt996h3635c0000gq/T/cc-btI6Vk.s:201:2:<br>     error: instruction requires a CPU feature not currently enabled<br>
     jmpl *%eax ## TAILCALL<br>     ^<br><br>/var/folders/b9/87kwc2nj7xd2qjt996h3635c0000gq/T/cc-btI6Vk.s:207:2:<br>     error: instruction requires a CPU feature not currently enabled<br>     jmpl *%eax ## TAILCALL<br><br>
Error running clang! you need clang installed to use the LLVM backend<br>However with ghc-7.2.1 , It compiles and run.<br>Macintosh-0026bb610428:tmp mukesh$ ghc-7.2.1 -fllvm Hello.hs<br>Macintosh-0026bb610428:tmp mukesh$ ./Hello <br>
Hello Haskell<br><br>Regards <br>Mukesh Tiwari<br><br><div class="gmail_quote">On Fri, Feb 10, 2012 at 12:41 PM, Carter Schonwald <span dir="ltr">&lt;<a href="mailto:carter.schonwald@gmail.com">carter.schonwald@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It may be a problem with the gloss / opengl dependencies? do you have those packages installed?<div><br></div><div>I had similar trouble earlier this week wrt dph-examples, and that was the root of the matter in my case</div>


<div><br></div><div>-Carter</div><div><br><div class="gmail_quote"><div><div class="h5">On Thu, Feb 9, 2012 at 7:04 PM, Ben Lippmeier <span dir="ltr">&lt;<a href="mailto:benl@ouroborus.net" target="_blank">benl@ouroborus.net</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div style="word-wrap:break-word"><div><br><div><div>On 10/02/2012, at 6:12 AM, mukesh tiwari wrote:</div><br><blockquote type="cite">Hello all <br>I am trying to install dph-examples on Mac OS X version 10.7.3 but getting <a href="http://hpaste.org/57699" target="_blank">this error</a>. I am using ghc-7.4.1.<br>


</blockquote></div><div><br></div></div><div>This probably isn&#39;t DPH specific. Can you compile a &quot;hello world&quot; program with -fllvm?</div><span><font color="#888888"><div><br></div><div>Ben.</div>

</font></span></div><br></div></div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br>