Re: [commit: ghc] master: Fix dependency generation when GhcLibWays = dyn p (11aa737)

2012-11-02 Thread Simon Marlow
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.

Re: [commit: ghc] master: Fix dependency generation when GhcLibWays = dyn p (11aa737)

2012-11-01 Thread Ian Lynagh
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,

Re: [commit: ghc] master: Fix dependency generation when GhcLibWays = dyn p (11aa737)

2012-10-30 Thread Simon Marlow
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

Re: [commit: ghc] master: Fix dependency generation when GhcLibWays = dyn p (11aa737)

2012-10-30 Thread Ian Lynagh
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

Re: [commit: ghc] master: Fix dependency generation when GhcLibWays = dyn p (11aa737)

2012-10-30 Thread Simon Marlow
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

[commit: ghc] master: Fix dependency generation when GhcLibWays = dyn p (11aa737)

2012-10-29 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/11aa737cbb71420e92b91d37a763c82f4aac09ef --- commit 11aa737cbb71420e92b91d37a763c82f4aac09ef Author: Ian Lynagh