Re: Recompiling the darcs tree after a pull

2006-07-20 Thread Simon Marlow
Joel Reymont wrote: I get a lot of errors like this: utils/Panic.lhs:27:0: Failed to load interface for `Config': Bad interface file: stage1/main/Config.hi mismatched interface file versions: expected 6050, found 390518464 Do you guys always clean after a pull or is t

Re: Recompiling the darcs tree after a pull

2006-07-20 Thread Simon Marlow
Joel Reymont wrote: What I usually do is build GHC from darcs and make-install it. I then do a darcs pull and use the previously built compiler to bootstrap. I guess this is not optimal and I should just use the last stable GHC to recompile the darcs tree. Yes, that isn't a "supported" wor

Re: Recompiling the darcs tree after a pull

2006-07-16 Thread Joel Reymont
What I usually do is build GHC from darcs and make-install it. I then do a darcs pull and use the previously built compiler to bootstrap. I guess this is not optimal and I should just use the last stable GHC to recompile the darcs tree. On Jul 16, 2006, at 10:28 PM, Simon Peyton-Jones wrote

RE: Recompiling the darcs tree after a pull

2006-07-16 Thread Simon Peyton-Jones
If you change which version of the compiler that you are compiling GHC with, then 'make clean' is your friend. If you are only updating the source code, and not changing the GHC that you are using to compile the compiler, then you shouldn't get the error below. Simon | -Original Message-