<div dir="ltr">That fixed it! Thanks guys!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 15, 2013 at 3:17 AM, Luke Iannini <span dir="ltr"><<a href="mailto:lukexipd@gmail.com" target="_blank">lukexipd@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im HOEnZb"><div dir="ltr"><span style="font-size:12px;font-family:Helvetica">Oops, the wiki had a typo!</span><br style="font-size:12px;font-family:Helvetica">
<br style="font-size:12px;font-family:Helvetica">

<span style="font-size:12px;font-family:Helvetica">Step 3 should have been:</span><br style="font-size:12px;font-family:Helvetica"><br style="font-size:12px;font-family:Helvetica">

<span style="font-size:12px;font-family:Helvetica">rm libffi-tarballs/libffi-3.0.11.tar.gz</span><br style="font-size:12px;font-family:Helvetica"><span style="font-size:12px;font-family:Helvetica">wget</span><span style="font-size:12px;font-family:Helvetica"> </span><span style="font-size:12px;font-family:Helvetica"><a href="https://github.com/ghc-ios/libffi-tarballs/blob/master/libffi-3.0.13z.tar.gz?raw=true" target="_blank">https://github.com/ghc-ios/libffi-tarballs/blob/master/libffi-3.0.13z.tar.gz?raw=true</a></span><span style="font-size:12px;font-family:Helvetica"> </span><span style="font-size:12px;font-family:Helvetica">-O libffi-tarballs/libffi-3.0.13z.tar.gz</span><br style="font-size:12px;font-family:Helvetica">


<br style="font-size:12px;font-family:Helvetica"><span style="font-size:12px;font-family:Helvetica">I’ve fixed it now, can you try those commands and let me know if it helps?</span><br style="font-size:12px;font-family:Helvetica">


<br style="font-size:12px;font-family:Helvetica"><span style="font-size:12px;font-family:Helvetica">Cheers</span><br style="font-size:12px;font-family:Helvetica"><span style="font-size:12px;font-family:Helvetica">Luke</span><br>


<div><span style="font-size:12px;font-family:Helvetica"><br></span></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 14, 2013 at 9:57 AM, Schell Scivally <span dir="ltr"><<a href="mailto:efsubenovex@gmail.com" target="_blank">efsubenovex@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So it looks like I've run into a problem when building the arm cross-compiler:<div><br></div><div>







<p>libtool: compile:  arm-apple-darwin10-clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -fno-stack-protector -w -c ../src/arm/sysv.S -Wp,-MD,src/arm/.deps/sysv.TPlo -o src/arm/sysv.o</p>




<p><b>../src/arm/sysv.S:137:1: </b><span><b>warning: </b></span><b>macro defined with named parameters which are not used in macro body, possible positional parameter found in body which will have no effect</b></p>

<p>.macro ARM_FUNC_START name</p>
<p><b>^</b></p>
<p><b>../src/arm/sysv.S:224:2: </b><span><b>error: </b></span><b>invalid instruction</b></p>
<p> stmeqia r2, {r0, r1}</p>
<p><b> ^</b></p>
<p><b><instantiation>:5:14: </b><span><b>error: </b></span><b>invalid symbol redefinition</b></p>
<p> .globl _$0; _$0:</p>
<p><b>             ^</b></p>
<p><b>../src/arm/sysv.S:269:1: </b><span><b>note: </b></span><b>while in macro instantiation</b></p>
<p>ARM_FUNC_START ffi_closure_SYSV</p>
<p><b>^</b></p>
<p><b>../src/arm/sysv.S:137:1: </b><span><b>warning: </b></span><b>macro defined with named parameters which are not used in macro body, possible positional parameter found in body which will have no effect</b></p>

<p>.macro ARM_FUNC_START name</p>
<p><b>^</b></p>
<p><b>../src/arm/sysv.S:224:2: </b><span><b>error: </b></span><b>invalid instruction</b></p>
<p> stmeqia r2, {r0, r1}</p>
<p><b> ^</b></p>
<p><b><instantiation>:5:14: </b><span><b>error: </b></span><b>invalid symbol redefinition</b></p>
<p> .globl _$0; _$0:</p>
<p><b>             ^</b></p>
<p><b>../src/arm/sysv.S:269:1: </b><span><b>note: </b></span><b>while in macro instantiation</b></p>
<p>ARM_FUNC_START ffi_closure_SYSV</p>
<p><b>^</b></p>
<p>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: src/arm/sysv-armv7.o (No such file or directory)</p>
<p>rm: src/arm/sysv-armv7.o: No such file or directory</p>
<p>rm: src/arm/sysv-armv7s.o: No such file or directory</p>
<p>make[5]: *** [src/arm/sysv.lo] Error 1</p>
<p>make[4]: *** [all-recursive] Error 1</p>
<p>make[3]: *** [all] Error 2</p>
<p>make[2]: *** [all-all] Error 2</p>
<p>make[1]: *** [libffi/stamp.ffi.static.build] Error 2</p><div>
<p>make: *** [all] Error 2</p></div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 14, 2013 at 9:19 AM, Schell Scivally <span dir="ltr"><<a href="mailto:efsubenovex@gmail.com" target="_blank">efsubenovex@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yup - that seemed to clear it up. I've successfully built the simulator cc and am working on the arm cc. Thanks!</div>



<div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 6:12 PM, Luke Iannini <span dir="ltr"><<a href="mailto:lukexipd@gmail.com" target="_blank">lukexipd@gmail.com</a>></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 Schell,<div><br></div><div>That one was supposed to have been fixed: <a href="https://ghc.haskell.org/trac/ghc/ticket/7700" target="_blank">https://ghc.haskell.org/trac/ghc/ticket/7700</a> so perhaps try doing a "make distclean" and starting again (perl boot, configure etc.) now that you've fixed your gcc issue?</div>






<div><br></div><div>Cheers</div><span><font color="#888888"><div>Luke</div></font></span></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Fri, Dec 13, 2013 at 4:14 PM, Schell Scivally <span dir="ltr"><<a href="mailto:efsubenovex@gmail.com" target="_blank">efsubenovex@gmail.com</a>></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><div dir="ltr">It seems I've run into another error:<div><br></div><div>







<p>Configuring ghc-pkg-6.9...</p>
<p>ghc-cabal: At least the following dependencies are missing:</p>
<p>terminfo -any</p>
<p>make[1]: *** [utils/ghc-pkg/dist-install/<a href="http://package-data.mk" target="_blank">package-data.mk</a>] Error 1</p><div>
<p>make: *** [all] Error 2</p></div></div><div class="gmail_extra"><br clear="all"><div><div><br></div>-- <br>Schell Scivally<br><a href="http://blog.efnx.com" target="_blank">http://blog.efnx.com</a><br><a href="http://github.com/schell" target="_blank">http://github.com/schell</a><br>







<a href="http://twitter.com/schellsan" target="_blank">http://twitter.com/schellsan</a>
</div></div></div>
<br></div></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></div></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Schell Scivally<br><a href="http://blog.efnx.com" target="_blank">http://blog.efnx.com</a><br><a href="http://github.com/schell" target="_blank">http://github.com/schell</a><br>




<a href="http://twitter.com/schellsan" target="_blank">http://twitter.com/schellsan</a>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Schell Scivally<br><a href="http://blog.efnx.com" target="_blank">http://blog.efnx.com</a><br><a href="http://github.com/schell" target="_blank">http://github.com/schell</a><br>



<a href="http://twitter.com/schellsan" target="_blank">http://twitter.com/schellsan</a>
</div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Schell Scivally<br><a href="http://blog.efnx.com" target="_blank">http://blog.efnx.com</a><br><a href="http://github.com/schell" target="_blank">http://github.com/schell</a><br>
<a href="http://twitter.com/schellsan" target="_blank">http://twitter.com/schellsan</a>
</div>