<div dir="ltr">Looking forward to trying this. Last time I tried to build on Windows I couldn't make it work and just gave up.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 1:00 PM, Niklas Larsson <span dir="ltr"><<a href="mailto:metaniklas@gmail.com" target="_blank">metaniklas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'll put it on the trac page as soon as I have updated it a bit. I found out how to rewrite the downloading so windows 7 don't have to have an upgraded powershell, I'll do that tomorrow.<br>
</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-22 3:12 GMT+02:00 Austin Seipp <span dir="ltr"><<a href="mailto:austin@well-typed.com" target="_blank">austin@well-typed.com</a>></span>:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is really cool, thanks!<br>
<br>
If you wouldn't mind, perhaps that page should be updated (the MSYS2<br>
page) to point to your Powershell script. That would be really useful<br>
and make it much easier to find for people who don't follow the<br>
mailing list.<br>
<div><div><br>
On Mon, Apr 21, 2014 at 8:03 PM, Niklas Larsson <<a href="mailto:metaniklas@gmail.com" target="_blank">metaniklas@gmail.com</a>> wrote:<br>
> Hi!<br>
><br>
> I have made a Powershell script that sets up a GHC build environment on<br>
> Windows from scratch. It's at <a href="https://github.com/melted/getghc" target="_blank">https://github.com/melted/getghc</a>. It largely<br>
> follows the instructions at<br>
> <a href="https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows/MSYS2" target="_blank">https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows/MSYS2</a>. It<br>
> has no dependencies aside from Powershell 3.0.<br>
><br>
> The reason I made it was to make it easier to set up a build bot on a clean<br>
> machine. But it's probably generally useful for people who want to develop<br>
> GHC on Windows.<br>
><br>
> Usage:<br>
> - Put the script in an empty directory<br>
> - Run it<br>
> - Hope for the best<br>
><br>
> Potential problems:<br>
> - If Python 2.7 is already installed and not on the path, the script wont<br>
> install it, and msys wont pick up the path. Solution: Add the path to python<br>
> in the control panel.<br>
> - Powershell wont run unsigned scripts by default. The error message will<br>
> give a hint how to disable that. I will add a signed version as soon as I<br>
> can figure out how.<br>
><br>
> Niklas<br>
><br>
</div></div>> _______________________________________________<br>
> ghc-devs mailing list<br>
> <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
><br>
<span><font color="#888888"><br>
<br>
<br>
--<br>
Regards,<br>
<br>
Austin Seipp, Haskell Consultant<br>
Well-Typed LLP, <a href="http://www.well-typed.com/" target="_blank">http://www.well-typed.com/</a><br>
</font></span></blockquote></div></div></div><br></div>
<br>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>