<?xml version="1.0" encoding="iso-8859-1"?>
<!-- name="generator" content="pyblosxom/1.3.2 2/13/2006" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>Diane's World 25 Dec 2005</title>
<link>http://woldlab.caltech.edu/~diane/index.cgi</link>
<description>I take the 5th</description>
<language>en</language>
<item>
  <title>Building GHC6 on Arm</title>
  <link>http://woldlab.caltech.edu/~diane/index.cgi/geek/ghc-arm-2005-12-25-20-00.html</link>
  <description><![CDATA[

<div class="document">
<dl class="docutils">
<dt>I got talked into darcs and now want to be able to check out my patches on</dt>
<dd><p class="first">my <a class="reference" href="http://www.nslu2-linux.org/">nslu2</a>. Unfortunately darcs requires ghc,
and ghc requires itself to compile. This leads us to the joy of making a new
port.</p>
<p><a class="reference" href="http://www.haskell.org/ghc/docs/latest/html/building/sec-porting-ghc.html">http://www.haskell.org/ghc/docs/latest/html/building/sec-porting-ghc.html</a></p>
<p>I started with the above link and tried to get it to work. So far,
the files they tell you to copy includes/(ghcautoconf.h DeriviedConstants.h
GHCConstants.h) are not created by the configure step so you need to
run make boot in the ghc directory on the target.</p>
<p>Then after copying them over make them read only, as my touches weren't enough
to prevent their makefiles from trying to rebuild those files.</p>
<p class="last">i managed to get it to start building, but it died trying to make the compiler
with a bunch of cast errors.</p>
</dd>
</dl>
</div>

]]></description>
</item>

</channel>
</rss>
