Problems with building GHC 7.8.3 on Windows

kyra kyrab at mail.ru
Fri Aug 29 15:59:08 UTC 2014


1. I see you've set ticket's 'Architecture' field to be 'x86_64' while 
make output suggests you try to build 32-bit ghc.

2. You are using 'old' MSys which is known to be problematic when 
building GHC. It's much better to use MSYS2 now: 
https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows/MSYS2.

Also, remember, MSYS2 is only a *build environment*, so you can use 
64-bit MSYS2 to build 32-bit GHC on 64-bit Windows. My experience is 
that 64-bit MSYS2 is more solid and stable than 32-bit MSYS2. And it's 
extremely important to remember you must *not* use msys2_shell.bat to 
start MSYS2 shell, only mingwXX_shell.bat (XX stands for 32 or 64) shall 
be used to start MSYS2 shell -- otherwise GHC make system would not 
recognize build triplet.

Cheers,
Kyra


On 8/29/2014 17:50, Marek Wawrzos wrote:
> Hello,
>
> I am trying to compile GHC 7.8.3 on Windows. I was following the 
> instructions from the GHC wiki, but I have encountered errors during 
> the make process.
>
> I have filed a bug report describing my issue: 
> https://ghc.haskell.org/trac/ghc/ticket/9513
>
> Does anyone had working setup for building GHC and would be willing to 
> share information on how to achieve it?
>
> --
> Best regards,
> Marek Wawrzos
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs



More information about the ghc-devs mailing list