|
[ ghc-Bugs-978543 ] "-M" option broken with "-hisuf prof.hi": msg#00044lang.haskell.glasgow.bugs
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Data instances in ghc 6.2.1?, Ralf Laemmel |
|---|---|
| Next by Date: | Re: Data instances in ghc 6.2.1?, Claus Reinke |
| Previous by Thread: | [ ghc-Bugs-978543 ] "-M" option broken with "-hisuf prof.hi", SourceForge.net |
| Next by Thread: | Data instances in ghc 6.2.1?, Claus Reinke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |