How to configure cabal for ghc 7.10 on windows 64-bit
I just downloaded the newest GHC 7.10.1 and I am trying to get my cabal system up and running. But I couldn't find a 64bit binary cabal
for 64bit windows.
There is no 7.10 in the Haskell Platform yet. So I went to https://www.haskell.org/cabal/download.html but for 32 bit windows only binary exists. I tried using this version for cabal update
, but cabal.exe
just crashed when setting up the initial config.
I was wondering how to configure cabal
for 64bit GHC?
source to share
Here's what worked for me.
I used a previous version of 64-bit GHC, for example in the Haskell Platform, to compile cabal.exe
and use it to execute:
cabal install cabal-install
(loading strapping).
After that cabal.exe
, installed to local directory was 64bit and worked fine.
Note. I tried using MinGHC 64-bit like @Zeta but it cabal.exe
was 32-bit too. It seems to be incompatible with GHC 64bit system and gave me a crash like 32bit cabal.exe
downloaded from official site.
source to share