-odir behaviour change in 6.4.1?

Andres Loeh loeh at iai.uni-bonn.de
Tue Aug 9 19:04:33 EDT 2005


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 ...

Cheers,
  Andres


More information about the Glasgow-haskell-users mailing list