meta-haskell-branch

Saswat Anand saswat@comp.nus.edu.sg
Tue, 17 Sep 2002 17:05:07 +0800 (GMT-8)


Thanks for the pointer. I still get the following error, when I do gmake.

> echo '#!/bin/sh' >>ghc-inplace
> echo exec /root/fptools/ghc/compiler/ghc-5.05 '-B/root/fptools' '"$@"'
> >>ghc-inplace
> chmod 755 ghc-inplace
> ------------------------------------------------------------------------
> ==fptools== gmake all -wr;
>  in /root/fptools/ghc/rts
> ------------------------------------------------------------------------
> ../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W
> -optc-Wstrict-prototypes -optc-Wmissing-prototypes
> -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
> -optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel
> -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -ldl -O2 -static    -c
> Adjustor.c -o Adjustor.o
> gmake[2]: *** [Adjustor.o] Error 1
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/root/fptools/ghc'
> gmake: *** [all] Error 1


It seems ghc-inplace has some problem:

> sh-2.05# ../../ghc/compiler/ghc-inplace -c Adjustor.c -o Adjustor.o
> sh-2.05# ls *.o
> ls: *.o: No such file or directory

What might be wrong?

Saswat