I'm using <div>ghc --make...</div><div><br></div><div>-rtsopts seems to be a link directive.</div><div><br></div><div>The GHC docs seem to be project oriented. What's the two step process to compile and link a simple .hs file?</div>
<div><br></div><div>ghc source.hs (to compile)</div><div><br></div><div>link step?</div><div><br></div><div>Michael</div><div><br></div><div><br><div><br></div><div><br><br><div class="gmail_quote">On Sun, Feb 5, 2012 at 2:21 PM, Mathijs Kwik <span dir="ltr"><<a href="mailto:mathijs@bluescreen303.nl">mathijs@bluescreen303.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">./myProgram +RTS -K16000000<br>
<br>
If that gives an error, you're program was probably compiled without<br>
support for setting RTS options from the command line.<br>
Recompile with -rtsopts.<br>
Then the above should work<br>
<div><div class="h5"><br>
<br>
<br>
On Sun, Feb 5, 2012 at 8:16 PM, Michael Rice <<a href="mailto:limitcase@gmail.com">limitcase@gmail.com</a>> wrote:<br>
> Stack space overflow: current size 8388608 bytes.<br>
> Use `+RTS -Ksize -RTS' to increase it.<br>
><br>
> ======================<br>
><br>
> Couldn't find much on the man or info pages. Example please, say double it<br>
> (16000000) for starters.<br>
><br>
> Michael<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
</blockquote></div><br></div></div>