diff options
author | Tamar Christina <tamar@zhox.com> | 2017-06-11 11:40:11 +0100 |
---|---|---|
committer | Tamar Christina <tamar@zhox.com> | 2017-06-17 00:49:16 +0100 |
commit | fda094d000cf2c2874a8205c8212cb83b52259ef (patch) | |
tree | 38f013140cfdf5b690cd383595534fedbc1117bb /docs/users_guide/8.4.1-notes.rst | |
parent | dc8e6861dc5586a8222484afc3bd26c432e2d69c (diff) | |
download | haskell-fda094d000cf2c2874a8205c8212cb83b52259ef.tar.gz |
Provide way to build using existing C compiler on Windows.
Summary:
There are various distros that build GHC using their own C compilers
such as MSYS2. Currently they have to patch the build scripts everytime.
This patch provides the configure argument `--enable-distro-toolchain`
which allows one to build using any C compiler on the path.
This is also useful for testing new versions of GCC.
Test Plan:
./configure --enable-distro-toolchain && make - && make THREADS=9 test
./validate
Reviewers: austin, hvr, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, erikd, #ghc_windows_task_force
GHC Trac Issues: #13792
Differential Revision: https://phabricator.haskell.org/D3637
Diffstat (limited to 'docs/users_guide/8.4.1-notes.rst')
-rw-r--r-- | docs/users_guide/8.4.1-notes.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/users_guide/8.4.1-notes.rst b/docs/users_guide/8.4.1-notes.rst index 5929998e95..f23cb360c9 100644 --- a/docs/users_guide/8.4.1-notes.rst +++ b/docs/users_guide/8.4.1-notes.rst @@ -76,6 +76,10 @@ Now we generate :: _ == _ = error ... +- Configure on Windows now supports ``--enable-distro-toolchain`` which can be + used to build a GHC using compilers on your ``PATH`` instead of using the + bundled bindist. See :ghc-ticket:`13792` + - Lots of other bugs. See `Trac <https://ghc.haskell.org/trac/ghc/query?status=closed&milestone=8.4.1&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&order=priority>`_ for a complete list. @@ -84,7 +88,7 @@ Runtime system - Function ``hs_add_root()`` was removed. It was a no-op since GHC-7.2.1 where module initialisation stopped requiring a call to ``hs_add_root()``. - + - Proper import library support added to GHC which can handle all of the libraries produced by dlltool. The limitation of them needing to be named with the suffix .dll.a is also removed. See :ghc-ticket:`13606`, :ghc-ticket:`12499`, :ghc-ticket:`12498` |