Hello,
I'm trying to compile up ghc 4.02 for one of the local developers but I'm
stumped. I've tried compiling under Solaris 2.6 and Solaris 7 and fail
at the same point each time.
I've got the happy 1.5 binary for Solaris but I've been unable to locate
a ghc 4.02 package for Solaris so I was building it myself for the users.
The "gmake boot" works but "gmake all" fails with the err:
.
.
.
==fptools== gmake all --no-print-directory -r;
in /home/djevans/haskell/fptools/ghc/lib/std
------------------------------------------------------------------------
cp PrelGHC.hi-boot PrelGHC.hi
rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir PrelBase; else find
PrelBase -name '*.o' -print | xargs rm -f __rm_food ; fi ;
../../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing -O
-split-objs -odir PrelBase -H10m -c PrelBase.lhs -o PrelBase.o -osuf o
sh: /home/djevans/haskell/fptools/ghc/driver/../compiler/hsc: not found
gmake[2]: *** [PrelBase.o] Error 1
gmake[1]: *** [all] Error 1
gmake: *** [all] Error 1
And this is correct, there is no hsc at this time. Can anybody shed some
light as to what I'm missing or how to work around this? The is no rule
for hsc in any of the makefiles I've looked at.
Please send response to me and I'll summarise the working result.
Many thanks,
David Evans
Any statements or comments are personal and do not represent the views of
Oracle Corporation Australia.