From 4186e34c1389725a2e06a1d49de805e574442d45 Mon Sep 17 00:00:00 2001 From: PHO Date: Fri, 24 Feb 2012 00:04:43 +0900 Subject: [PATCH] TODO: mention build-hc-pkg --- TODO | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 09d8f93..8669d3f 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,5 @@ .. -*- rst -*- -============ wip/ghc TODO ============ @@ -15,9 +14,34 @@ 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 +`_ + +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 `_, plus some minor tweaks. -- 2.40.0