-odir behaviour change in 6.4.1?

Simon Marlow simonmar at microsoft.com
Wed Aug 10 05:36:07 EDT 2005


On 10 August 2005 00:05, Andres Loeh wrote:

> Is this change in behaviour between ghc-6.4 and ghc-6.4.1 desired:
> 
> ~/trans $ ls foo
> foo.c
> ~/trans $ ghc-6.4 -odir foo -c foo/foo.c
> ~/trans $ ls foo
> foo.c  foo.o
> ~/trans $ rm foo/foo.o
> ~/trans $ ls foo
> foo.c
> ~/trans $ ghc-6.4.1.20050804 -odir foo -c foo/foo.c
> ~/trans $ ls foo
> foo  foo.c
> ~/trans $ ls foo/foo
> foo.o
> 
> It seems to break cabal-1.1.1, in the case that I have something
> like
> 
> c-sources: foo/foo.c
> 
> in my .cabal file ...

Yes, this change was made for consistency (someone else reported the
breakage).  I've also patched Cabal, so perhaps you're using a version
from before the fix?

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list