Building GHC on Windows

Simon Marlow marlowsd at gmail.com
Mon Feb 23 04:26:39 EST 2009


Sigbjorn Finne wrote:
> 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

I added a note about this to the wiki, could someone who actually 
understands what's going on check what I've written and edit if necessary:

http://hackage.haskell.org/trac/ghc/wiki/Building/GettingTheSources#GettingaGHCsourcetreeusinggit

Cheers,
	Simon




More information about the Glasgow-haskell-users mailing list