In message <20070926011104.GA6558@matrix.chaos.earth.li> cabal-devel@haskell.org, Duncan Coutts <duncan.coutts@worc.ox.ac.uk> writes:
Duncan,
On Tue, Sep 25, 2007 at 05:39:21PM -0700, Ian Lynagh wrote:
Mon Sep 17 05:30:42 PDT 2007 Duncan Coutts <duncan@haskell.org> * Put _stub.{c|h} files under dist/ so they'll get cleaned. Fixes bug #154. Only used with ghc-6.6 and later which supports the -stubdir flag. With earlier ghc versions the files still end up in the src dirs and so do not get cleaned.
Should the > in this be >=?
hunk ./Distribution/Simple/GHC.hs 482 + ++ (if compilerVersion c > Version [6,6] [] + then ["-stubdir", odir] else [])
Yes it should. You can see I was only testing with ghc-6.6.1 :-) I'll fix it in HEAD and the 1.2 branch. Duncan
Thanks Ian