looks as if make clean isn't working in happy/src, or in
libraries/Haskell-src/Language/Haskell

But when I make clean in 'happy' or in libraries/Haskell-src, the hi
file indeed gets removed.  Try make clean in those directories.  Could
it be that top-level make clean isn't working?  You know which file
should be zapped...

Simon

| -----Original Message-----
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Norman
| Ramsey
| Sent: 13 May 2005 20:31
| To: [EMAIL PROTECTED]
| Subject: clueless regarding rebuilding GHC with new compiler
| 
| As instructed by Simon, I've upgraded my installed GHC to GHC 6.
| I'm now trying to rebuild my GHC from sources, but I keep running
| into problems with stale .hi files:
| 
|   Parser.hs:4:
|       Failed to load interface for `ParseMonad':
|           Bad interface file: ./ParseMonad.hi
|               mismatched interface file versions: expected 6022, found
5043
| 
| I've tried 'make clean' and 'make distclean', and I've tried scrubbing
| and scrubbing, but still they won't come out.  Is it time for
| 
|   find . -name '*.hi' -exec rm '{}' ';'
| 
| or is there a principled way to do this?
| 
| 
| Norman
| 
| P.S. I'm building on Linux.
| _______________________________________________
| Cvs-ghc mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/cvs-ghc
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to