Windows building instructions

Neil Mitchell ndmitchell at
Tue Mar 10 09:26:12 EDT 2009

Hi Simon,

I got a brand new Vista machine yesterday (and a brand new monitor
this morning), running Vista. I'll try out these instructions as soon
as its all plugged together.

When I had my last stab at compiling GHC I ended up creating a little
script to automate some of the common bits and provide basic sanity
checking. I've attached the script in case anyone finds it useful.



On Tue, Mar 10, 2009 at 12:45 PM, Simon Marlow <marlowsd at> wrote:
> I've made a start on sanitising the Windows building instructions, and
> generally reoganising the Windows-related stuff in the wiki.  Basicalliy my
> plan is to:
>  - Simplify the instructions.  In lots of places we have stuff like "if you
>   get the following bizarre error message ... then do this ...".  I'd
>   rather have a set of simple instructions that just work, with a separate
>   (searchable) page for troubleshooting advice.  So now we have
>   which is just a list of error messages and solutions, collected from
>   various other places in the docs.  If you encounter an error that isn't
>   listed on that page, please add it (guidelines for adding stuff are at
>   the top).
>  - Merge the Windows-specific instructions with the rest of the docs, so
>   we can avoid repetition.  So now the instructions for how to set
>   up your Windows system for building GHC are on the main "prerequisites"
>   page:
>  - I've uploaded a set of build tools that work (just MSYS for now) to
>, and linked them from the wiki.  This morning I started
>   from a fresh Vista system, installed these tools, and managed to
>   do a complete validate of the GHC HEAD, with 1 test failure.
> What we still need to do:
>  - Expand the instructions to include Cygwin.  I've linked to the
>   existing Cygwin instructions for now, but I think they need
>   simplifying.
>  - Add more common failures and troubleshooting tips.
>  - Merge in contrib docs, e.g.
> I'd be grateful for any help with this - just edit away!
> Cheers,
>        Simon
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winbuild.hs
Type: application/octet-stream
Size: 5641 bytes
Desc: not available
Url :

More information about the Glasgow-haskell-users mailing list