.. -*- rst -*-
-============
wip/ghc TODO
============
in this guide, and fix the upstream to throw them away.
* Build more bootstrapping HC archives to support more platforms.
+
How to build an HC archive
--------------------------
+A preferred, automated way
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+I've written an automation tool to build one: `build-hc-pkg
+<http://git.cielonegro.org/gitweb.cgi?p=build-hc-pkg.git>`_
+
+To use it, clone the repository, run ``./build-hc-pkg``, and then
+follow the instruction it shows::
+
+ $ git clone git://git.cielonegro.org/build-hc-pkg.git
+ ...
+ $ cd build-hc-pkg
+ $ ./build-hc-pkg
+ ...
+ This is build-hc-pkg, running on powerpc-apple-darwin9.8.0 with 2 processors.
+ Enter the file path to ghc-x.y.z-src.tar.bz2: _
+
+Note that you need Bash, Automake, GNU make, GNU sed, and GNU tar to
+use it.
+
+
+A manual way
+^^^^^^^^^^^^
+
It's basically the same as the `Porting Guide
<http://hackage.haskell.org/trac/ghc/wiki/Building/Porting>`_, plus
some minor tweaks.