problems building the GHC as a package
Simon Marlow
simonmar at microsoft.com
Tue Apr 27 10:45:57 EDT 2004
On 26 April 2004 19:59, Mauro La Salete Costa Lima de Araujo wrote:
> 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?
You don't need to build the RTS when building GHC as a package. If you
want to do this, you have to remove BuildPackageGHC=YES from build.mk,
build the compiler, RTS and libraries, and then add BuildPackageGHC=YES
again. But I don't think you need to do this; just build the compiler
in ghc/compiler.
Cheers,
Simon
More information about the Glasgow-haskell-users
mailing list