problems building GHC from source in Windows

I was trying to build GHC in my Windows XP, using Cygwin, following the steps in the building guide. I'm stuck in the following error when executing "make" in fptools: creating libgmp.la (cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la) make[6]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc/ghc/rts/gmp' make[5]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc/ghc/rts/gmp' ../../ghc/compiler/ghc-inplace -H16m -O -O2 -static -c Apply.hc -o Apply.o make[3]: *** [Apply.o] Error 1 make[2]: *** [all] Error 1 make[2]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc/ghc' make[1]: *** [build] Error 1 make[1]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc' make: *** [build] Error 1 Any suggestions? Thanks, -- Andre

Hi Andre, are you sure you have a ../../ghc/compiler/ghc-inplace file/compiler? You need to have compiled the "ghc/compiler" directory to have that. If you are only building a different rts you should have used "make HC=your-ghc-compiler" otherwise it will try to use the inplace one (which is the usual/standard behaviour). Andre. Andre W B Furtado wrote:
I was trying to build GHC in my Windows XP, using Cygwin, following the steps in the building guide. I'm stuck in the following error when executing "make" in fptools:
creating libgmp.la (cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la) make[6]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc/ghc/rts/gmp' make[5]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc/ghc/rts/gmp' ../../ghc/compiler/ghc-inplace -H16m -O -O2 -static -c Apply.hc -o Apply.o make[3]: *** [Apply.o] Error 1 make[2]: *** [all] Error 1 make[2]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc/ghc' make[1]: *** [build] Error 1 make[1]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc' make: *** [build] Error 1
Any suggestions? Thanks, -- Andre
_______________________________________________ Vhs-ufpe mailing list Vhs-ufpe@cin.ufpe.br http://noronha.cin.ufpe.br/mailman/listinfo/vhs-ufpe
participants (2)
-
Andre Santos
-
Andre W B Furtado