<div dir="ltr">Hi Dominick,<div>Hm, this should have been fixed by <a href="http://ghc.haskell.org/trac/ghc/ticket/7700">http://ghc.haskell.org/trac/ghc/ticket/7700</a> .</div><div><br></div><div>When you say you downloaded GHC, do you mean you cloned GHC HEAD (e.g. git clone git://<a href="http://git.haskell.org/ghc.git">git.haskell.org/ghc.git</a> ?) — the patches have only just landed : ).</div>

<div><br></div><div>Also can you give us an idea of what your build environment is? (OS version, Xcode version etc)</div><div><br></div><div>Cheers</div><div>Luke</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Sun, Sep 1, 2013 at 4:32 PM, Dominick Samperi <span dir="ltr">&lt;<a href="mailto:djsamperi@gmail.com" target="_blank">djsamperi@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"><div><div><div>Hi,<br></div><br>I followed the instructions on the link, downloaded ghc, created <a href="http://build.mk" target="_blank">build.mk</a>, etc.,<br></div>and configured for ghc-ios-sim. But the make fails with the message below.<br>



</div>Tried installing terminfo (cabal install terminfo) but this didn&#39;t help...<br><br>ghc $ make<br>===--- building phase 0<br>make -r --no-print-directory -f <a href="http://ghc.mk" target="_blank">ghc.mk</a> phase=0 phase_0_builds<br>



make[1]: Nothing to be done for `phase_0_builds&#39;.<br>===--- building phase 1<br>make -r --no-print-directory -f <a href="http://ghc.mk" target="_blank">ghc.mk</a> phase=1 phase_1_builds<br>&quot;inplace/bin/ghc-cabal&quot; check utils/ghc-pkg<br>



A &#39;license-file&#39; is not specified.<br>&quot;inplace/bin/ghc-cabal&quot; configure utils/ghc-pkg dist-install &quot;&quot; --with-ghc=&quot;/Users/dsamperi/<div>bin/ghc/ghc/inplace/bin/ghc-stage1&quot; --with-ghc-pkg=&quot;/Users/dsamperi/bin/ghc/ghc/inplace/bin/ghc-pkg&quot; 
 --disable-library-for-ghci --disable-library-vanilla 
--disable-library-profiling --disable-shared --configure-option=CFLAGS=&quot;
 -U__i686 -fno-stack-protector   &quot; --configure-option=LDFLAGS=&quot;   &quot; 
--configure-option=CPPFLAGS=&quot;   &quot; --configure-option=--host=i386-apple-darwin11 --with-gcc=&quot;/Users/dsamperi/bin/ghc/ghc-ios-scripts-master/i386-apple-darwin11-gcc&quot; --with-ld=&quot;/Users/dsamperi/bin/ghc/ghc-ios-scripts-master/i386-apple-darwin11-ld&quot; --configure-option=--with-cc=&quot;/Users/dsamperi/bin/ghc/ghc-ios-scripts-master/i386-apple-darwin11-gcc&quot; --with-ar=&quot;/opt/local/bin/ar&quot; --with-ranlib=&quot;ranlib&quot; --with-alex=&quot;/usr/bin/alex&quot; --with-happy=&quot;/usr/bin/happy&quot;<br>



Configuring ghc-pkg-6.9...<br>ghc-cabal: At least the following dependencies are missing:<br>terminfo -any<br>make[1]: *** [utils/ghc-pkg/dist-install/<a href="http://package-data.mk" target="_blank">package-data.mk</a>] Error 1<br>


make: *** [all] Error 2<div><div><img></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On Fri, Aug 30, 2013 at 5:04 AM, Simon Peyton-Jones <span dir="ltr">&lt;<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.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 class="h5">






<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Great.  Please thank Stephen too.. I don’t have his email.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Just go ahead and modify
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><a href="http://ghc.haskell.org/trac/ghc/wiki/CodeOwners" target="_blank">http://ghc.haskell.org/trac/ghc/wiki/CodeOwners</a><u></u><u></u></span></p>



<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><a href="http://ghc.haskell.org/trac/ghc/wiki/Platforms" target="_blank">http://ghc.haskell.org/trac/ghc/wiki/Platforms</a><u></u><u></u></span></p>



<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I assume iOS will become a tier-2 platform?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Simon<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> Luke Iannini [mailto:<a href="mailto:lukexipd@gmail.com" target="_blank">lukexipd@gmail.com</a>]
<br>
<b>Sent:</b> 30 August 2013 09:07<br>
<b>To:</b> Simon Peyton-Jones<br>
<b>Cc:</b> Austin Seipp<br>
<b>Subject:</b> Re: [Haskell-cafe] Announcing GHC iOS<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
Certainly! And I&#39;d be happy to take on maintainership of GHC iOS if that&#39;s what you mean — I&#39;ve committed to a very large project using it so I&#39;ll be maintaining it anyway : ). I&#39;d guess Stephen would feel the same.<u></u><u></u></p>



<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
And thanks so much for the kind words, it means the world! Thank you infinitely for Haskell : ).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
Cheers<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
Luke<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm">
<u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
On Fri, Aug 30, 2013 at 12:32 AM, Simon Peyton-Jones &lt;<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Should we update the “Platform maintainers” on
<a href="http://ghc.haskell.org/trac/ghc/wiki/TeamGHC" target="_blank">http://ghc.haskell.org/trac/ghc/wiki/TeamGHC</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">or the list of supported platforms on
<a href="http://ghc.haskell.org/trac/ghc/wiki/Platforms" target="_blank">http://ghc.haskell.org/trac/ghc/wiki/Platforms</a>?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">
 Haskell-Cafe [mailto:<a href="mailto:haskell-cafe-bounces@haskell.org" target="_blank">haskell-cafe-bounces@haskell.org</a>]
<b>On Behalf Of </b>Luke Iannini<br>
<b>Sent:</b> 29 August 2013 21:56<br>
<b>To:</b> Haskell Cafe<br>
<b>Subject:</b> Re: [Haskell-cafe] Announcing GHC iOS</span><u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">Stephen provided some more credits — thanks so much to all!<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">Three connected projects concerning cross-compilation:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">*Registerised ARM support, added using David Terei&#39;s LLVM compiler back end with Stephen Blackheath doing an initial ARMv5 version and LLVM patch and Karel Gardas working on floating point
 support, ARMv7 compatibility and LLVM headaches. Ben Gamari did work on the runtime linker for ARM.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">*General cross-compiling, with much work by Stephen Blackheath and Gabor Greif (though many others have worked on this).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">*A cross-compiler for Apple iOS. iOS-specific parts were mostly Stephen Blackheath with Luke Iannini on the Cabal patch, testing and supporting infrastructure, also with assistance and
 testing by Miëtek Bak and Jonathan Fischoff, and thanks to many others for testing; The iOS cross compiler was started back in 2009 by Stephen Blackheath with funding from Ryan Trinkle of iPwn Studios.<u></u><u></u></p>



</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">Thanks to Ian Lynagh for making it easy for us with integration, makefile refactoring and patience, and to David Terei for LLVM assistance.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
</div>
</div><div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">On Thu, Aug 29, 2013 at 1:43 PM, Luke Iannini &lt;<a href="mailto:lukexipd@gmail.com" target="_blank">lukexipd@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">Hi all!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">(in case you don&#39;t read /r/haskell : ))<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">Stephen Blackheath and I are extremely happy to report that as of today, GHC can natively build binaries for iOS devices and the iOS Simulator.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">You&#39;ll find everything you need here:
<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><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">The short of it is you can use &quot;ghc-ios myFiles.hs&quot; to get a universal ARMv7/ARMv7s/i386 static library to drop straight into an Xcode project.<u></u><u></u></p>



</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">Stephen&#39;s already working on some wonderful FRP-powered games, I&#39;m working on a project called SpaceTime that I&#39;ll announce shortly, and you may now all begin creating insanely great iOS
 software using the finest language in the world : ).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:6.0pt">Stephen deserves the lion&#39;s share of the credit for this project — it&#39;s been over 3 years in the making! Many thanks to Maxwell Swadling for generalizing static library builds into a -staticlib
 flag for GHC, Carter Schonwald for compilation guidance, and the venerable Austin Seipp for reviewing and merging our patches.<u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-bottom:6.0pt"> <u></u><u></u></p>
</div>
</div></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>

<br></div></div>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>