ghc-cvs-snapshot with wxHaskell

Simon Marlow simonmar at microsoft.com
Thu Feb 17 11:36:48 EST 2005


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


More information about the Glasgow-haskell-users mailing list