<div dir="ltr">It looks like GHC might have just integrated an updated gcc detection routine. Can you guys try this configure line?<div>./configure --target=i386-apple-darwin11 --prefix=/usr/local/ghc-ios-sim/ --with-gcc=i386-apple-darwin11-gcc<br>

</div><div><br></div><div>it should force it to use the correct gcc.</div><div><br></div><div>Cheers</div><div>Luke</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 14, 2013 at 6:32 AM, Pradeep Kumar <span dir="ltr">&lt;<a href="mailto:pradeepkumar.t@gmail.com" target="_blank">pradeepkumar.t@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 style="word-wrap:break-word">Hi, <div><br></div><div>I get the same errors building GHC head for the simulator as per the instructions.  llvm and opt are version 3.0.  <div>

<div><br></div><div>Any suggestions are welcome.</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Pradeep</div><div></div></font></span></div></div></div><br><div style="word-wrap:break-word">

<div><div><div><br><div><div>On 14 Sep 2013, at 02:11, Luke Iannini &lt;<a href="mailto:lukexipd@gmail.com" target="_blank">lukexipd@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr"><span style="font-family:Helvetica;font-size:12px">Hi Thomas,</span><div style="font-family:Helvetica;font-size:12px">

<br></div><div style="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="font-family:Helvetica;font-size:12px">(or just run llc —version to make sure it’s 3.0)</div><div style="font-family:Helvetica;font-size:12px">



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

Cheers</div><div style="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><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>

(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" target="_blank">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>
_______________________________________________<br>iPhone mailing list<br><a href="mailto:iPhone@haskell.org" target="_blank">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>

</blockquote></div><br></div></div></div></div><br></blockquote></div><br></div>