[Haskell-cafe] Re: Template Haskell compilation error on Windows (was Re: speed: ghc vs gcc)

Don Stewart dons at galois.com
Sat Feb 21 19:13:43 EST 2009


Missing --make

bugfact:
> I tried to compile the template Haskell loop unrolling trick from Claus Reinke
> on my machine which is running Windows and GHC 6.10.1, and I got linker errors.
> 
> c:\temp>ghc -O2 -fvia-C -optc-O3 -fforce-recomp Apply.hs
> Apply.o:ghc6140_0.hc:(.text+0x7d): undefined reference to


More information about the Haskell-Cafe mailing list