<div dir="ltr">OK, that got me past that one.<div><br></div><div>Now I&#39;m stuck here during compilation of integer-simple:</div><div><a href="https://gist.github.com/lukexi/d9f8bfd8bca56d5d0ee9">https://gist.github.com/lukexi/d9f8bfd8bca56d5d0ee9</a><br>

</div><div><br></div><div>(&quot;<span style="font-family:Menlo;font-size:11px">unsupported relocation on symbol&quot;/&quot;</span><span style="font-family:Menlo;font-size:11px">co-processor offset out of range&quot;)</span></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 9, 2013 at 4:00 AM, Luke Iannini <span dir="ltr">&lt;<a href="mailto:lukexipd@gmail.com" target="_blank">lukexipd@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">OK, I&#39;m underway on this.<div><br></div><div>First roadbump was:</div><div><pre style="line-height:16px;width:2672px;font-size:12px;margin-bottom:0px;font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;margin-top:0px;padding:0px">

<div>&quot;inplace/bin/ghc-stage1&quot; -static  -H32m -O -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -package-name rts -dcmm-lint      -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen           -O2    -c rts/Apply.cmm -o rts/dist/build/Apply.o</div>


<div>You are using a new version of LLVM that hasn&#39;t been tested yet!</div><div>We will try though...</div><div>
/usr/local/bin/llc: : error: unable to get target for &#39;arm-apple-darwin10&#39;, see --version and --triple.</div></pre></div><div><br></div><div>which I figured out were because the homebrew LLVM 3.4 only includes host platforms by default (x86/x86-64)</div>


<div>Reinstalling it with all-targets enables them all:</div><div>brew install llvm --with-clang --all-targets --HEAD<br></div><div><br></div><div>Trying again now.</div><div><br></div><div><br></div></div><div class="HOEnZb">

<div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Aug 8, 2013 at 5:29 PM, Luke Iannini <span dir="ltr">&lt;<a href="mailto:lukexipd@gmail.com" target="_blank">lukexipd@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">Update: I&#39;ve got GHC HEAD building on 10.9 again, tonight I&#39;ll dive into the iOS patch!<div>Cheers</div><span><font color="#888888"><div>Luke</div></font></span></div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 7, 2013 at 9:12 PM, Carter Schonwald <span dir="ltr">&lt;<a href="mailto:carter.schonwald@gmail.com" target="_blank">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"><div dir="ltr">if you&#39;re on 10.8, just DL the 4.6 CLI tools to get things working again.<div><br></div><div>If you&#39;re on 10.9, you&#39;ll need to use recent GHC head + CLANG HEAD, (ok, the most recent XCODE 5 dev preview CLI tools may have all the needed clang patches, but thats still needing its own validation, orthogonal to the IOS related issues )</div>





</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 7:06 PM, Luke Iannini <span dir="ltr">&lt;<a href="mailto:lukexipd@gmail.com" target="_blank">lukexipd@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 Stephen,<div><br></div><div>I installed 10.9 for another project and thus am in the middle of fixing up my system to be able to build GHC again, but I think I&#39;m close — as soon as I have it going I&#39;ll try this.</div>







<div><br></div><div>In the meantime someone still on 10.8 should definitely try the patch!</div><div><br></div><div>Hope you&#39;re great!</div><div>Luke</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">





<div><div>

On Tue, Aug 6, 2013 at 6:42 PM, Stephen Blackheath [to GHC-iPhone] <span dir="ltr">&lt;<a href="mailto:likeliest.complexions.stephen@blacksapphire.com" target="_blank">likeliest.complexions.stephen@blacksapphire.com</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>Hi all,<br>
<br>
A couple of months ago I got some patches applied to GHC mainline for the ability to cross compile to iOS. I&#39;ve been doing other things and now I want to test those changes. The trouble is, I am having Apple trouble and I can&#39;t get Xcode to work.<br>








<br>
If anyone is interested in testing it for me, I&#39;d appreciate it.<br>
<br>
The patch attached here needs to be applied to GHC head. Using this, I was able to get the cross compiler to build. The instructions are here:<br>
<br>
<a href="http://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS" target="_blank">http://ghc.haskell.org/trac/<u></u>ghc/wiki/Building/<u></u>CrossCompiling/iOS</a><br>
<br>
<br>
Steve<br>
<br></div></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>
<br></blockquote></div><br></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>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>