Building GHC on Windows

Sigbjorn Finne sof at galois.com
Sat Feb 21 17:50:54 EST 2009


Simon Marlow wrote:
> Felix Martini wrote:
> .....
>>
>> All this is likely trivial to fix but at the same time these little
>> roadblocks may also explain why few developers on Windows contribute
>> code to GHC and Haskell.
>
> I haven't tried sync-all on Windows - can anyone help out here?
>
It works fine, but be mindful of how 'git' handles crlf translations on 
Windows.
Having run into this a couple of times, it certainly looks the likely 
cause. Felix
may want to try cloning as follows:

  foo$ git config --global core.autocrlf false
  foo$ git clone http://darcs.haskell.org/ghc.git

hth
--sigbjorn



More information about the Glasgow-haskell-users mailing list