Bugs item #978543, was opened at 2004-06-23 21:18
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=978543&group_id=8032
>Category: Driver
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Fergus Henderson (fergus)
>Assigned to: Simon Marlow (simonmar)
Summary: "-M" option broken with "-hisuf prof.hi"
Initial Comment:
The "-M" option doesn't work if you try to use it in
combination
with the "-hisuf" option where (as suggested in the
documentation) the "-hisuf" option value ends in ".hi".
For example,
ghc -M -hisuf bar.hi Main.hs
will result in a Makefile which contains dependencies
of the form
# DO NOT DELETE: Beginning of Haskell dependencies
Main.o : Main.hs
Main.o : ./Bar.bar.bar.hi
# DO NOT DELETE: End of Haskell dependencies
Notice that the suffix used in the Makefile is
".bar.bar.hi".
It should be ".bar.hi".
Here's the example sources that I used to reproduce the
problem.
$ cat Main.hs
import Bar
main = Bar.main
$ cat Bar.hs
main = return ()
----------------------------------------------------------------------
>Comment By: Simon Marlow (simonmar)
Date: 2004-06-24 09:42
Message:
Logged In: YES
user_id=48280
Fixed, thanks. Workaround is to use a -hisuf with no dots
in it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=978543&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs