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