problems building the GHC as a package

Simon Peyton-Jones simonpj at microsoft.com
Tue Apr 27 04:27:48 EDT 2004


[redirecting to ghc-bugs]

You're falling over the first time you invoke GHC on any file, which happens to be Adjustor.c

Try ......./ghc/compiler/ghc-inplace -c Foo.hs 
on some random Haskell file.  The ghc-inplace file is a little script that invokes
	.../ghc/compiler/stage1/ghc-inplace
so it might perhaps be broken somehow.  What's in it?  Mine contains
	#!/bin/sh
	exec /c/fptools-HEAD/ghc/compiler/stage1/ghc -B/c/fptools-HEAD "$@"

Simon

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of Mauro La Salete Costa Lima de Araujo
| Sent: 26 April 2004 19:59
| To: glasgow-haskell-users at haskell.org
| Subject: problems building the GHC as a package
| 
| Hi folks,
| 
| I'm having a little problem when building the GHC as a package.
| I've set the option 'BuildPackageGHC=YES' in the build.mk file and
| done the usual steps to build the GHC under windows
| (including the './configure --host=i386-unknown-mingw32
| --with-gcc=c:/mingw/bin/gcc').
| But I'm getting the following error in the middle of the build process:
| 
| -------------------------------------------------------------------
| (cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
| make[5]: Leaving directory `/home/legionario_k/fptools/ghc/rts/gmp'
| make[4]: Leaving directory `/home/legionario_k/fptools/ghc/rts/gmp'
| ../../ghc/compiler/ghc-inplace -optc-mno-cygwin -optc-O -optc-Wall -optc-W
| -optc-Wstrict-p
| missing-declarations -optc-Winline -optc-Waggregate-return
| -optc-Wbad-function-cast -optc-
| -DCOMPILING_RTS -optc-Iwin32 -optc-fomit-frame-pointer -H32m -O0 -W
| -fno-warn-unused-match
| Adjustor.c -o Adjustor.o
| exec: C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/: not found
| make[2]: *** [Adjustor.o] Error 127
| make[1]: *** [all] Error 1
| make[1]: Leaving directory `/home/legionario_k/fptools/ghc'
| make: *** [build] Error 1
| ------------------------------------------------------------------
| 
| any sugestions?
| 
| Cheers,
| 
|   -------------------------------------------------
|   |  Mauro La-Salette C. L. de Araújo             |
|   |  Undergraduating Computer Science Student	  |
|   |  mscla at cin.ufpe.br                         |
|   |  http://www.cin.ufpe.br/~mscla                |
|   -------------------------------------------------
| 
|   "If this is true, building software will always be hard.
|    There is inherently no silver bullet."
|    (F.P.Brooks)
| 
| 
| _______________________________________________
| 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