Re: Compiling module using Data.Time with -O fails; can't find HsTime.h

2007-02-06 Thread Ian Lynagh
Hi Alistair, On Tue, Feb 06, 2007 at 09:00:17AM +, Alistair Bayley wrote: > > C:\DOCUME~1\bayleya\LOCALS~1\Temp\ghc728_0\ghc728_0.hc:8:20: HsTime.h: > No such file or directory > > Is this me doing something I shouldn't, No, this should work. > or is there something wrong > with the way t

Compiling module using Data.Time with -O fails; can't find HsTime.h

2007-02-06 Thread Alistair Bayley
If I try to compile this Main.hs: module Main where import Data.Time main = getCurrentTime >>= print with this ghc-6.6 command: ghc --make Main -o test -O ... I get this error: C:\DOCUME~1\bayleya\LOCALS~1\Temp\ghc728_0\ghc728_0.hc:8:20: HsTime.h: No such file or directory Is this me doing