DEPRECATED: Windows installer for GHC including msys
Haskell
105
186 commits
updated Feb 17, 2016
We recommend you download and use Stack instead of using MinGHC - it's what all the MinGHC authors do. The MinGHC approach to installing both GHC and MSYS has been adopted by Stack and Stack provides some additional benefits:
PATH variableFor more information on using Stack, please read the Stack guide.
One note: when using Stack, you need to make a few changes to how you call some tools outside of a project:
stack ghc -- ... to compile filesstack runghc -- ... to interpret filesstack exec -- ... to run arbitrary commandsThis project provides a Windows installer with:
It does not provide all the packages included with the Haskell Platform, but it does provide an environment where you can install those packages. Some require installing c libraries.
You may wish to also check the Github latest releases page.
To use MinGHC, download and run the installer. There are two options you may wish to modify:
%PATH% environment variable so the MinGHC installed copies of ghc and cabal are used by default.minghc-7.8.3 at a command prompt to temporarily add the MinGHC copies of ghc and cabal.Caveats:
network library doesn't work well with Cygwin. Hence, it is not recommended that you use cabal install in a Cygwin terminal. Use Command Prompt (cmd.exe) or Windows PowerShell instead.Before stack, there were two ways to get GHC on Windows, straight from the GHC distribution and using the Haskell Platform. The GHC distribution is hard to unpack (.xv files are not Windows friendly), doesn't setup the %PATH%, lacks Cabal and cannot build the network library on its own. The Haskell Platform is easy to install and comes with more libraries, but still won't build the network library and usually lags the GHC release by months. This installer is the GHC distribution with all the issues above fixed.
Users of MinGHC installers do not need to build it themselves. Below are instructions for anyone who wants to contribute to future installers.
You need NSIS installed:
PATH.Creating installers requires a two-step process: 1) build the installer-generation script and then 2) run the script to create installers.
stack build.stack exec minghc-generate.By default, the installer generator will create an installer for the most recent GHC release (32-bit).
You can build installers for other official releases by providing a version number and possibly --arch64 to use 64-bit
GHC.
For example, the following will build an older release as 64-bit.
> stack exec minghc-generate -- 7.8.4 --arch64
The resulting installer can be found in the .build directory.
Haskell
99.2%
DEPRECATED: Windows installer for GHC including msys
Haskell
105
186 commits
updated Feb 17, 2016
We recommend you download and use Stack instead of using MinGHC - it's what all the MinGHC authors do. The MinGHC approach to installing both GHC and MSYS has been adopted by Stack and Stack provides some additional benefits:
PATH variableFor more information on using Stack, please read the Stack guide.
One note: when using Stack, you need to make a few changes to how you call some tools outside of a project:
stack ghc -- ... to compile filesstack runghc -- ... to interpret filesstack exec -- ... to run arbitrary commandsThis project provides a Windows installer with:
It does not provide all the packages included with the Haskell Platform, but it does provide an environment where you can install those packages. Some require installing c libraries.
You may wish to also check the Github latest releases page.
To use MinGHC, download and run the installer. There are two options you may wish to modify:
%PATH% environment variable so the MinGHC installed copies of ghc and cabal are used by default.minghc-7.8.3 at a command prompt to temporarily add the MinGHC copies of ghc and cabal.Caveats:
network library doesn't work well with Cygwin. Hence, it is not recommended that you use cabal install in a Cygwin terminal. Use Command Prompt (cmd.exe) or Windows PowerShell instead.Before stack, there were two ways to get GHC on Windows, straight from the GHC distribution and using the Haskell Platform. The GHC distribution is hard to unpack (.xv files are not Windows friendly), doesn't setup the %PATH%, lacks Cabal and cannot build the network library on its own. The Haskell Platform is easy to install and comes with more libraries, but still won't build the network library and usually lags the GHC release by months. This installer is the GHC distribution with all the issues above fixed.
Users of MinGHC installers do not need to build it themselves. Below are instructions for anyone who wants to contribute to future installers.
You need NSIS installed:
PATH.Creating installers requires a two-step process: 1) build the installer-generation script and then 2) run the script to create installers.
stack build.stack exec minghc-generate.By default, the installer generator will create an installer for the most recent GHC release (32-bit).
You can build installers for other official releases by providing a version number and possibly --arch64 to use 64-bit
GHC.
For example, the following will build an older release as 64-bit.
> stack exec minghc-generate -- 7.8.4 --arch64
The resulting installer can be found in the .build directory.
Haskell
99.2%