On 17 February 2005 14:54, Daan Leijen wrote:

>> A more general question: We doesn't -ohi dir/filename.hi is not
>> reflected in the dependencies.
>> I tried:
>> 
>>> ghc -M -odir out -ohi out/A.hi A.hs
>> 
>> but nothing changed.
> 
> Simon??

This is because ghc -M works like --make, in that it traverses the
module dependency graph.  When multiple modules are being considered,
the -ohi flag doesn't make much sense (which module does it apply to?).


The right way is to use -hidir/-hisuf, which are honoured by -M and
--make.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to