<div dir="ltr"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Hi Thomas,</span><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">

Can you check that “which llc”/“which opt” point to the the LLVM 3.0 versions?</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">(or just run llc —version to make sure it’s 3.0)</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">

<br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Are you on 10.8 with Xcode 4.6?</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">

Cheers</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Luke</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 13, 2013 at 5:11 PM, thomas burt <span dir="ltr">&lt;<a href="mailto:thomaseburt@gmail.com" target="_blank">thomaseburt@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"><div dir="ltr">Hi,<br><br>I&#39;ve just followed instructions for &quot;Building a GHC cross-compiler for Apple iOS targets (1)&quot;, and I&#39;m getting stuck during &quot;make&quot; while building libffi. Specifically I get errors like &quot;no such instruction&quot; and warnings about junk characters. <div>


<br></div><div>I was able to build libffi using the build-ios.sh script found in libffi-3.0.13.tar.gz (2), but I noticed a less recent version (3.0.8) was listed in the &quot;tarballs&quot; file of the ghc distribution. Not sure if that makes any difference though. </div>


<div><br></div><div>If anyone has suggestions for me, please let me know.</div><div><br></div><div>Thanks in advance,</div><div>Thomas</div><div><br><div><div><div><div><br></div><div><br></div><div><br></div><div><br></div>


<div><br></div><div>(1) <a href="http://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS" target="_blank">http://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS</a><br></div></div></div></div></div><div>

(2) <a href="ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz" target="_blank">ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz</a></div>
</div>
<br>_______________________________________________<br>
iPhone mailing list<br>
<a href="mailto:iPhone@haskell.org">iPhone@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/iphone" target="_blank">http://www.haskell.org/mailman/listinfo/iphone</a><br>
<br></blockquote></div><br></div>