Marek

This sounds great.  Can you update the wiki page so that it says exactly what 
to do?

I’m copying Neil Mitchell who is interested in doing the same

Thank you!

Simon


From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Marek Wawrzos
Sent: 02 September 2014 10:26
Cc: ghc-devs@haskell.org
Subject: Re: Problems with building GHC 7.8.3 on Windows

I have finally builded GHC 7.8.3 on Windows. The wiki page with MSYS2 that you 
linked to proved to be useful reference. Indeed using the latest 64 bit MSYS2 
as building environment solved my problems. However there are some issues with 
the instructions presented:
-- the MSYS2 package that is linked to in the page fails to initial update. 
Using the latest official MSYS2 package does solve that ( 
https://sourceforge.net/projects/msys2/files/Base/x86_64 );
-- initial update has to be done along the instructions from 
http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/ ;
There are some error outputs during initial update but they do not seem to 
cause any harm
I thing it might be a good idea to give stronger encouragement to use MSYS2 on 
the page with Windows-specific instructions. It suggests that old MSYS can be 
used successfully while it apparently fails and is not supported.

2014-08-29 17:59 GMT+02:00 kyra <ky...@mail.ru<mailto:ky...@mail.ru>>:
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@haskell.org<mailto:ghc-devs@haskell.org>
http://www.haskell.org/mailman/listinfo/ghc-devs

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org<mailto:ghc-devs@haskell.org>
http://www.haskell.org/mailman/listinfo/ghc-devs



--
Z poważaniem,
Marek Wawrzos
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to