Making of ghc-4.02 (linux-i386) with 4.01 (linux-i386)
still fails.
I proceed:
Create myfptools/ containing links.
cd myfptools
make clean
./configure --prefix=/usr/ghc/4.02
BTW, where in docs the prefix setting is mentionned?
create mk/build.mk with GhcHcOpts= -H80m
BuildingParallel=
BuildingProfiling=
BuildingGranSim=
-H64 was not sufficient!
And, probably, -O is desirable - ?
You see, i compile once ghc on a large linux machine and take the
binary to my small linux machine of 32M RAM.
make boot
says
...
../../glafp-utils/mkdependC/mkdependC -f .depend
-D__GLASGOW_HASKELL__=402 -- -Iparser -I. -I../includes -O
-- parser/binding.c
...
parser/syntax.c parser/type2context.c parser/util.c
parser/infix.c:8: hsparser.tab.h: No such file or directory
-------------------------
...
the rest of this boot.log looks respectable.
make all
- it makes new ghc successfully, then
...
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
PrelBase.lhs:18: Could not find valid interface file `PrelErr'
PrelBase.lhs:19: Could not find valid interface file `PrelGHC'
Please, advise.
------------------
Sergey Mechveliani
[EMAIL PROTECTED]