windows head build problems: Setup.exe: error reading dist\setup-config;

Simon Marlow simonmarhaskell at gmail.com
Tue Aug 28 04:01:02 EDT 2007


Claus Reinke wrote:
>>>    $ ls compiler/stage1/ghc-inplace*
>>>    compiler/stage1/ghc-inplace  compiler/stage1/ghc-inplace.bat
>>>    compiler/stage1/ghc-inplace.exe
>>
>> Ah, this could well be the source of the problem; you should only have
>> ghc-inplace.exe. Does removing the others fix it?
> 
> i changed the Makefile to pass the .exe explicitly, which did get the
> build rolling again.

I think you had leftovers from a previous build, which is why we recommend 
doing 'make distclean' before 'darcs-all pull'.  If you do it after 
pulling, it might not remove things that were built previously but not 
built any more.

> just for the fun of it, there is yet another version, a soft-link from
> compiler/ghc-inplace to compiler/stage1/ghc-inplace.exe.., which
> is perhaps the one that should be used?

That's just there for convenience and historical reasons.

Cheers,
	Simon



More information about the Cvs-ghc mailing list