ghc-cvs-snapshot with wxHaskell

Daan Leijen daan at cs.uu.nl
Thu Feb 17 09:54:00 EST 2005


> The original code in the makefile.lib replaced
>     (basename input.hs) with (basename output.o)
> and
>     *.hi with *.o
> which is a quite weird approach to the problem. I'am not sure but I 
> think the new approach is better:
>      let the .o files be correct through the -odir flag
>     replace (dir input)/FILE.hi with (dir output)/$FILE.o

This seems indeed much more sensible. I'll try this out with ghc 6.2.2.

> 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??

Thanks again for your bug fixing,
-- Daan.


More information about the Glasgow-haskell-users mailing list