
11 Feb
2002
11 Feb
'02
8 a.m.
I'm having trouble adjusting the stack size, viz:
+ cacheprof +RTS -K8M -RTS gcc -I. -I. -c /tmp/ghc5664.s -o PrelTup.c_o Stack space overflow: current size 1048576 bytes. Use `+RTS -Ksize' to increase it.
The -K option definitely works, at least on simple examples I've tried here. It looks like the option somehow isn't getting through to the compiled program; is it perhaps being gobbled up by an intermediate stage (Makefile, script, whatever)? Cheers, Simon