On 01/11/2012 20:32, Ian Lynagh wrote:
If we want to stick with the current approach, then wouldn't it make
more sense for ghc -M to ignore any way flags and osuf/hisuf, and for
e.g. ghc -M -dep-suffix '' -dep-suffix p_ ... to generate rules for
.o/.hi and .p_o/.p_hi?
Yup, that's fine by me.
On Tue, Oct 30, 2012 at 01:19:31PM +, Simon Marlow wrote:
On 30/10/2012 12:29, Ian Lynagh wrote:
On Tue, Oct 30, 2012 at 12:15:16PM +, Simon Marlow wrote:
On 30/10/2012 02:48, Ian Lynagh wrote:
+# Setting hisuf/osuf is a kludge. If DYNAMIC_BY_DEFAULT is on, dyn is
+# the first way,
On 30/10/2012 02:48, Ian Lynagh wrote:
+# Setting hisuf/osuf is a kludge. If DYNAMIC_BY_DEFAULT is on, dyn is
+# the first way, and p is another way, then without this kludge we run
+# ghc -M -hisuf dyn_hi -osuf dyn_o -dep-suffix dyn -dep-suffix p
+# which means we get dependencies for
On Tue, Oct 30, 2012 at 12:15:16PM +, Simon Marlow wrote:
On 30/10/2012 02:48, Ian Lynagh wrote:
+# Setting hisuf/osuf is a kludge. If DYNAMIC_BY_DEFAULT is on, dyn is
+# the first way, and p is another way, then without this kludge we run
+# ghc -M -hisuf dyn_hi -osuf dyn_o
On 30/10/2012 12:29, Ian Lynagh wrote:
On Tue, Oct 30, 2012 at 12:15:16PM +, Simon Marlow wrote:
On 30/10/2012 02:48, Ian Lynagh wrote:
+# Setting hisuf/osuf is a kludge. If DYNAMIC_BY_DEFAULT is on, dyn is
+# the first way, and p is another way, then without this kludge we run
+# ghc
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/11aa737cbb71420e92b91d37a763c82f4aac09ef
---
commit 11aa737cbb71420e92b91d37a763c82f4aac09ef
Author: Ian Lynagh