Simon Peyton-Jones wrote: > | Where do I put -fno-ds-multi-tyvar so that the build system knows > to use | it? I'm going to try build.mk. | | Ok that didn't work and I > couldn't find anything about | -fno-ds-multi-tyvar in the > documentation. > > Yes, in GhcLibHcOpts in build.mk is a good place. The flag isn't > documented because it's a debug-only flag that I threw in so that I > can measure the effect of this particular desugaring change. It's > not really intended for users -- hard to explain just what it does. > > In any case I'm just about to push a patch which fixes the original > problem and makes the flag unnecessary for your purposes. >
Thanks. I put the flag in the right place and got further but see below. Dominic. PS I appreciate all the help I'm getting. > ../compiler/ghc-inplace -H32m -O2 -fasm -Rghc-timing -optc-O2 -I../includes > -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -fvia-C -static > -I../gmp/gmp uild -I../libffi/build/include -I. -dcmm-lint -c PrimOps.cmm > -o PrimOps.o > PrimOps.cmm:945:0: unknown macro: RET_NNNN > <<ghc: 53221772 bytes, 4 GCs, 102400/102400 avg/max bytes residency (1 > samples) 32M in use, 0.00 INIT (0.00 elapsed), 0.09 MUT (0.13 elapsed), 0.01 > GC (0.01 e apsed) :ghc>> > make[1]: *** [PrimOps.o] Error 1 > make: *** [stage1] Error 1 _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users