Hi,
I finally got it running, but it took me some smaller changes as well
in the binary distribution for i386-linux as in the source ball.
A typo:
$ diff fptools-orig/ghc/rts/RtsFlags.c fptools/ghc/rts/RtsFlags.c
219c219
< " -M<size> Sets the maximum heap size (default 64M) Egs: -M256k -M1G",
---
> " -M<size> Sets the maximum heap size (default 64M) Egs: -H256k -H1G",
Then, ghc refused to compile because of lacking heap. (Although this
seems a little strange: how did anybody compile it then?)
$ diff fptools-orig/ghc/compiler/Makefile fptools/ghc/compiler/Makefile
193c193
< rename/ParseIface_HC_OPTS += -Onot -H75m -fno-warn-incomplete-patterns
---
> rename/ParseIface_HC_OPTS += -Onot -H45m -fno-warn-incomplete-patterns
To increase the heap to 75m, I head to increase the heap limit (-M) as
well, but the ghc-4.02 from the binary distribution claimed not to know
about this option. So I browsed through the driver and found the
following workaround. (Maybe it's clear to you what is going wrong here
and you know a proper fix? Is it me again?)
$ diff ghc-4.02{,-patched}
1406a1407
> push(@HsC_rts_flags, '-M'.$Specific_heap_size);
regards,
Matthias
--
Max-Planck-Institut f�r Informatik | DFKI
[EMAIL PROTECTED] | [EMAIL PROTECTED]
http://www.mpi-sb.mpg.de/~fis |