
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

On Mon, 11 Feb 2002, Simon Marlow wrote:
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)?
Yes, the program in question wasn't correctly passing the option onto another program that it invoked. Thanks. -- Nick Nethercote njn25@cam.ac.uk
participants (2)
-
Nicholas Nethercote
-
Simon Marlow