Hi!
I start to "hack" GHC, and, I 've tried to build it, but the build return this error message :
./compiler/stage1/ghc-inplace -o stage2/ghc -H64m -Onot -fasm -package ghc -Ist age2 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -I parser -Rghc-timing -Onot -fasm -DGHCI -DBREAKPOINT -threaded stage2/main /Main.o
stage2/main/Main.o(.text+0x233c):ghc1888_0.hc: undefined reference to `ghczm6zi6 _DriverPhases_showsPrec1_closure'
stage2/main/Main.o(.text+0x2567):ghc1888_0.hc: undefined reference to `ghczm6zi6 _DriverPhases_showsPrec1_info'
stage2/main/Main.o(.text+0x25c2):ghc1888_0.hc: undefined reference to `ghczm6zi6 _DriverPhases_showsPrec1_info'
stage2/main/Main.o(.text+0x3978):ghc1888_0.hc: undefined reference to `ghczm6zi6 _DriverPhases_haskellishzusrczusuffixes_closure'
stage2/main/Main.o(.text+0x3c57):ghc1888_0.hc: undefined reference to `ghczm6zi6 _DriverPhases_haskellishzusrczusuffixes_closure'
stage2/main/Main.o(.text+0x454e):ghc1888_0.hc: undefined reference to `ghczm6zi6 _GHC_zdwsetSessionDynFlags_closure'
stage2/main/Main.o(.text+0x4552):ghc1888_0.hc: undefined reference to `ghczm6zi6 _GHC_zdwload_closure'
stage2/main/Main.o(.text+0x4566):ghc1888_0.hc: undefined reference to `ghczm6zi6 _DriverPipeline_zdwcompileFile_closure'
stage2/main/Main.o(.text+0x456a):ghc1888_0.hc: undefined reference to `ghczm6zi6 _DriverMkDepend_zdwdoMkDependHS_closure'
stage2/main/Main.o(.text+0x4572):ghc1888_0.hc: undefined reference to `ghczm6zi6 _InteractiveUI_zdwinteractiveUI_closure'
stage2/main/Main.o(.text+0x457a):ghc1888_0.hc: undefined reference to `ghczm6zi6 _Packages_zdwdumpPackages_closure'
stage2/main/Main.o(.text+0x5b4e):ghc1888_0.hc: undefined reference to `ghczm6zi6 _DriverMkDepend_zdwdoMkDependHS_info'
stage2/main/Main.o(.text+0x5bb8):ghc1888_0.hc: undefined reference to `ghczm6zi6 _InteractiveUI_zdwinteractiveUI_info'
stage2/main/Main.o(.text+0x5bef):ghc1888_0.hc: undefined reference to `ghczm6zi6 _InteractiveUI_zdwinteractiveUI_info'
stage2/main/Main.o(.text+0x66ce):ghc1888_0.hc: undefined reference to `ghczm6zi6 _Packages_zdwdumpPackages_info'
stage2/main/Main.o(.text+0x5760):ghc1888_0.hc: undefined reference to `ghczm6zi6 _DriverPipeline_zdwcompileFile_info'
stage2/main/Main.o(.text+0x5890):ghc1888_0.hc: undefined reference to `ghczm6zi6 _GHC_zdwload_info'
stage2/main/Main.o(.text+0x58c4):ghc1888_0.hc: undefined reference to `ghczm6zi6 _GHC_zdwsetTargets_info'
stage2/main/Main.o(.text+0x689b):ghc1888_0.hc: undefined reference to `ghczm6zi6 _GHC_zdwsetSessionDynFlags_info'
collect2: ld returned 1 exit status
<<ghc: 9924096 bytes, 3 GCs, 89824/89824 avg/max bytes residency (1 samples), 62 M in use,
0.02 INIT (0.00 elapsed), 0.03 MUT (17.44 elapsed), 0.00 GC (0.00 elap sed) :ghc>>
make[3]: *** [stage2/ghc] Error 1
make[3]: Leaving directory `/c/ghc-build/ghc-6.6/compiler'
make[2]: *** [stage2/ghc] Error 2
make[2]: Leaving directory `/c/ghc-build/ghc-6.6/compiler'
make[1]: *** [stage2] Error 2
make[1]: Leaving directory `/c/ghc-build/ghc-6.6'
make: *** [bootstrap2] Error 2
I've tried to build GHC using mSYS and MinGW under MS windows xp...
Does anyone have any idea of how can I solve this problem?
Thanks a lot!
Rodrigo Ribeiro