2 These insns are for building Hugs on mingw32. We don't want no
5 You need to have a fptools/mk/build.mk which looks like this in
6 order to build Hugs which has a hope of working in combined mode.
8 WithGhcHc=ghc-4.06 # or whatever; version not v. important
9 GhcLibWays=u # essential
10 GhcHcOpts=-DDEBUG -fasm-x86 # -fasm-x86 is optional
11 GhcRtsHcOpts=-optc-DDEBUG -optc-D__HUGS__ -unreg -optc-g
12 GhcRtsCcOpts=-optc-DDEBUG -optc-g -optc-D__HUGS__
13 SplitObjs=NO # essential
16 Then you need to configure like this:
22 ./configure --host=i386-unknown-mingw32 --enable-win32-dlls
30 cd ghc/rts/gmp/mpn/generic
31 for f in *.c *.h ; do echo $f ; rm -f ../$f ; cp $f ../$f ; done
32 # because mingw32 doesn't understand the symlinks that GMP makes