ghc --make, recompilation problems? (was: GHC 6.2)
igloo at earth.li
Fri Sep 26 15:48:19 EDT 2003
On Fri, Sep 26, 2003 at 02:07:57PM +0100, Claus Reinke wrote:
> talking about broken things: I've been reluctant to mention it so far,
> because I can't even give a reproducable example, and the problem
> only occurs on very large projects, so without a clue as to what
> might cause it, I certainly couldn't narrow down such an example,
> should I manage to pin down one.
> there seems to be a problem in ghc --make's recompilation dependency
I have noticed that if you make 2 programs in the same directory then
you can end up with the first Main.o being used for the second program
(at least I assumed that was what was happening. I didn't actually
investigate). I can't remember if the new behaviour was in 6.0.1 or not.
I don't know if this can actually causes crashes rather than just a
program that does what you don't want or a link failure, though.
More information about the Glasgow-haskell-users