]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blob - TODO
Merge branch 'ghc-7.6.2'
[pkgsrc-ghc.git] / TODO
1 .. -*- rst -*-
2
3 wip/ghc TODO
4 ============
5
6 * Modify configure.ac and rules/build-package-data.mk to allow
7   ``--with-curses-{includes,libraries}`` to be passed to the top-level
8   ``configure``, and send a patch to the upstream.
9 * Add the following ``./configure`` flags to eliminate
10   ``patch-Makefile`` and ``patch-ghc.mk``:
11
12   * ``--with-dist-archiver={bzip2,xz} [default=bzip2]``
13   * ``BZIP2FLAGS``
14   * ``XZFLAGS``
15
16 * Let ``./configure`` check for broken binutils and provide a better
17   fix for ``patch-rts_StgCRun.c``.
18 * Build more bootstrapping compilers to support more platforms.
19
20
21 How to build a bootstrapping compiler
22 -------------------------------------
23
24 You need a working compiler to build one. If you think there are no
25 bindists for your platform, you may need to cross-build a compiler
26 yourself: `Cross-compiling GHC
27 <http://hackage.haskell.org/trac/ghc/wiki/Building/CrossCompiling>`_
28
29 Assuming you have a working ghc in your PATH, just run ``bmake patch
30 && bmake bootstrap`` and see if you are lucky enough.