logo       

[ ghc-Bugs-748490 ] -odir bug: msg#00024

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-748490 ] -odir bug

Bugs item #748490, was opened at 2003-06-03 22:16
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=748490&group_id=8032

Category: Compiler
Group: 6.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: -odir bug

Initial Comment:
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


----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2003-06-05 10:30

Message:
Logged In: YES
user_id=48280

Fixed, thanks. The fix will be in 6.2.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=748490&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise