[BACK]Return to TODO CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / ghc7

File: [cvs.NetBSD.org] / pkgsrc / lang / ghc7 / Attic / TODO (download)

Revision 1.4, Mon Feb 23 23:17:20 2015 UTC (5 years, 4 months ago) by pho
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.3: +3 -0 lines

Update TODO: in ghc-7.10 the top-level ./configure will have --with-curses-{includes,libraries}

.. -*- rst -*-

wip/ghc TODO
============

* Modify configure.ac and rules/build-package-data.mk to allow
  ``--with-curses-{includes,libraries}`` to be passed to the top-level
  ``configure``, and send a patch to the upstream.

  -> Done: https://ghc.haskell.org/trac/ghc/ticket/10096

* Add the following ``./configure`` flags to eliminate
  ``patch-Makefile`` and ``patch-ghc.mk``:

  * ``--with-dist-archiver={bzip2,xz} [default=bzip2]``
  * ``BZIP2FLAGS``
  * ``XZFLAGS``

* Build more bootstrapping compilers to support more platforms.


How to build a bootstrapping compiler
-------------------------------------

You need a working compiler to build one. If you think there are no
bindists for your platform, you may need to cross-build a compiler
yourself: `Cross-compiling GHC
<http://hackage.haskell.org/trac/ghc/wiki/Building/CrossCompiling>`_

Assuming you have a working ghc in your PATH, just run ``bmake clean
&& bmake bootstrap`` and see if you are lucky enough.