|
Re: [Vhs-ufpe] problems building GHC from source in Windows: msg#00055lang.haskell.glasgow.bugs
Starting with a completely fresh tree indeed solved the problem. Finally I was able to compile GHC from source, but I'd like to report that "nofib" and "hood" are actually breaking the fptools build. nofib error is: /bin/sh -c ././exp3_8_p +RTS -SC:/TEMP/stats392 -RTS +RTS -H10m -K10m -RTS 8 < /dev/null 1> C:/TEMP/runtest392.1 2> C:/TEMP/runtest392.2 3> C:/TEMP/runtest392. 3 ././exp3_8_p +RTS -H10m -K10m -RTS 8 < /dev/null expected stdout not matched by reality *** exp3_8.stdout Tue Nov 26 11:46:26 1996 --- C:/TEMP/runtest392.1 Thu Feb 26 18:42:44 2004 *************** *** 1 **** ! 6561 --- 1 ---- ! 6561 make[4]: *** [runtests] Error 1 make[3]: *** [all] Error 1 make[2]: *** [all] Error 1 make[1]: *** [all] Error 1 make[1]: Leaving directory `/cygdrive/c/haskell/cvs2/fptools/nofib' make: *** [build] Error 1 hood error is: make[1]: Leaving directory `/cygdrive/c/haskell/cvs2/fptools/hdirect' make[1]: Entering directory `/cygdrive/c/haskell/cvs2/fptools/hood' make[1]: *** No rule to make target `boot'. Stop. make[1]: Leaving directory `/cygdrive/c/haskell/cvs2/fptools/hood' make: *** [build] Error 1 Removing them from my local machine made it possible to proceed. Cheers, -- Andre ----- Original Message ----- From: "Simon Peyton-Jones" <simonpj@xxxxxxxxxxxxx> To: "Andre Santos" <alms@xxxxxxxxxxx>; "Andre W B Furtado" <andrewilsonfurtado@xxxxxxxxxxxx> Cc: "GHC bugs" <glasgow-haskell-bugs@xxxxxxxxxxx>; <vhs-ufpe@xxxxxxxxxxx> Sent: Monday, February 23, 2004 8:23 AM Subject: RE: [Vhs-ufpe] problems building GHC from source in Windows [redirecting to ghc-bugs] I have seen this before. Things are going wrong when you use the newly built compiler to compile the run-time system. (This is the first RTS file it compiles, right?) Trouble is, I can't remember what was wrong. I hope you configured with --with-gcc=c:/mingw/bin/gcc as specified? Is this a completely clean build, starting with autoreconf, in a tree with no old files lying around in it? (If not, start a completely fresh tree -- I do have a vague memory that make clean didn't make clean enough...) Simon | -----Original Message----- | From: glasgow-haskell-users-bounces@xxxxxxxxxxx [mailto:glasgow-haskell-users- | bounces@xxxxxxxxxxx] On Behalf Of Andre Santos | Sent: 22 February 2004 07:10 | To: Andre W B Furtado | Cc: glasgow-haskell-users; vhs-ufpe@xxxxxxxxxxx | Subject: Re: [Vhs-ufpe] problems building GHC from source in Windows | | 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@xxxxxxxxxxx | > http://noronha.cin.ufpe.br/mailman/listinfo/vhs-ufpe | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@xxxxxxxxxxx | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-904512 ] hiding does not follow haskell report, SourceForge.net |
|---|---|
| Next by Date: | locating package.conf II, Andre W B Furtado |
| Previous by Thread: | RE: [Vhs-ufpe] problems building GHC from source in Windows, Simon Peyton-Jones |
| Next by Thread: | [ ghc-Bugs-904234 ] .lhs Birdtracks are removed instead of replaced, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |