[Vhs-ufpe] problems building GHC from source in Windows
Simon Peyton-Jones
simonpj at microsoft.com
Mon Feb 23 06:23:42 EST 2004
[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 at haskell.org
[mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of Andre Santos
| Sent: 22 February 2004 07:10
| To: Andre W B Furtado
| Cc: glasgow-haskell-users; vhs-ufpe at cin.ufpe.br
| 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 at cin.ufpe.br
| > http://noronha.cin.ufpe.br/mailman/listinfo/vhs-ufpe
|
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
More information about the Glasgow-haskell-bugs
mailing list