|
|
# Windows Support for GHC
|
|
|
|
|
|
|
|
|
|
|
|
GHC on Windows is supported by the [Windows Task Force](windows-task-force).
|
|
|
|
|
|
|
|
|
## Versions supported
|
|
|
|
|
|
|
|
|
<table><tr><th> GHC Version </th>
|
|
|
<th> <= WinNT4 </th>
|
|
|
<th> Win2k </th>
|
|
|
<th> WinXP </th>
|
|
|
<th> Vista </th>
|
|
|
<th> Win7 </th>
|
|
|
<th> Win8 </th>
|
|
|
<th> Win10 Creators </th>
|
|
|
<th> Win10
|
|
|
<table>
|
|
|
<tr><th>GHC Version</th>
|
|
|
<th><= WinNT4</th>
|
|
|
<th>Win2k</th>
|
|
|
<th>WinXP</th>
|
|
|
<th>Vista</th>
|
|
|
<th>Win7</th>
|
|
|
<th>Win8</th>
|
|
|
<th>Win10 Creators</th>
|
|
|
<th>Win10
|
|
|
</th></tr>
|
|
|
<tr><th> 7.8 </th>
|
|
|
<th> </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th>
|
|
|
<tr><th>7.8</th>
|
|
|
<th></th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th>
|
|
|
</th></tr>
|
|
|
<tr><th> 7.10 </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> </th>
|
|
|
<th>
|
|
|
<tr><th>7.10</th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th></th>
|
|
|
<th>
|
|
|
</th></tr>
|
|
|
<tr><th> 8.0 </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ (Note 1) </th>
|
|
|
<th> ✔
|
|
|
<tr><th>8.0</th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔ (Note 1)</th>
|
|
|
<th>✔
|
|
|
</th></tr>
|
|
|
<tr><th> 8.2 </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔
|
|
|
<tr><th>8.2</th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔
|
|
|
</th></tr>
|
|
|
<tr><th> 8.4 </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔
|
|
|
<tr><th>8.4</th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔
|
|
|
</th></tr>
|
|
|
<tr><th> 8.6 </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔ </th>
|
|
|
<th> ✔
|
|
|
</th></tr></table>
|
|
|
|
|
|
<tr><th>8.6</th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th></th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔</th>
|
|
|
<th>✔
|
|
|
</th></tr>
|
|
|
</table>
|
|
|
|
|
|
Note 1: Only distributions specifically advertising support the Creator's Update will work with Windows 10 Creator's Update and later.
|
|
|
|
|
|
**Note 1**: Only distributions specifically advertising support the Creator's
|
|
|
Update will work with Windows 10 Creator's Update and later.
|
|
|
|
|
|
Note that Vista must be patched with KB2533623.
|
|
|
|
|
|
## Building 32-bit Windows programs
|
|
|
|
|
|
|
|
|
Current releases of GHC provide a 32-bit Windows version for building 32-bit programs on Windows. It ships with a small [MinGW-w64](http://mingw-w64.sourceforge.net/) system bundled, which provides tools (such as a C compiler, linker and assembler) that are used by the compiler.
|
|
|
Current releases of GHC provide a 32-bit Windows version for building 32-bit
|
|
|
programs on Windows. It ships with a small
|
|
|
[MinGW-w64](http://mingw-w64.sourceforge.net/) system bundled, which provides
|
|
|
tools (such as a C compiler, linker and assembler) that are used by the
|
|
|
compiler.
|
|
|
|
|
|
## Building 64-bit Windows programs
|
|
|
|
|
|
|
|
|
Releases of GHC since 7.6.1 also provide a 64bit Windows version for building 64bit programs on Windows. It ships with a [MinGW-w64](http://mingw-w64.sourceforge.net/) system bundled, which provides tools (such as a C compiler, linker and assembler) that are used by the compiler.
|
|
|
Releases of GHC since 7.6.1 also provide a 64bit Windows version for building
|
|
|
64bit programs on Windows. It ships with a
|
|
|
[MinGW-w64](http://mingw-w64.sourceforge.net/) system bundled, which provides
|
|
|
tools (such as a C compiler, linker and assembler) that are used by the
|
|
|
compiler.
|
|
|
|
|
|
## Building on Windows
|
|
|
|
|
|
Build instructions for Windows are incorporated in the [Building
|
|
|
Guide](building). In particular, here is how to [set up your Windows system
|
|
|
for building GHC](building/preparation/windows).
|
|
|
|
|
|
Build instructions for Windows are incorporated in the [Building Guide](building). In particular, here is how to [set up your Windows system for building GHC](building/preparation/windows). |