-odir bug
hello,
there seems to be a problem when compiling modules
using the hirarchical-namespace and using the -odir flag:
(in A/A.hs)
module A.A where
import A.B
(in A/B.hs)
module A.B where
>ghc --make A.A -odir obj
Chasing modules from: A.A
Compiling A.B ( A/B.hs, obj/A/B.o )
Compiling A.A ( A/A.hs, obj/A/A.o )
>ls obj
A A.o B.o
(the object files were put in "obj" instead of "obj/A")
since the compiler thinks that the files are in "obj/A"
but they are actually in "obj" the files are recompiled
all the time.
bye
iavor
Trac metadata
Trac field | Value |
---|---|
Version | 6.0 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | ResolvedFixed |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |