I&#39;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&#39;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">&lt;<a href="mailto:mathijs@bluescreen303.nl">mathijs@bluescreen303.nl</a>&gt;</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&#39;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 &lt;<a href="mailto:limitcase@gmail.com">limitcase@gmail.com</a>&gt; wrote:<br>
&gt; Stack space overflow: current size 8388608 bytes.<br>
&gt; Use `+RTS -Ksize -RTS&#39; to increase it.<br>
&gt;<br>
&gt; ======================<br>
&gt;<br>
&gt; Couldn&#39;t find much on the man or info pages. Example please, say double it<br>
&gt; (16000000) for starters.<br>
&gt;<br>
&gt; Michael<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Haskell-Cafe mailing list<br>
&gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<br>
</blockquote></div><br></div></div>