<br><br><div class="gmail_quote">On Wed, Dec 1, 2010 at 2:36 PM, bearophile <span dir="ltr"><<a href="mailto:bearophileHUGS@lycos.com">bearophileHUGS@lycos.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Franciszek Czekala:<br>
<div class="im"><br>
> How do you set the stack size for D programs?<br>
<br>
</div>On Windows with DMD this is how to set the max stack size to about 1.5 GB of the "test.d" module:<br>
dmd -L/STACK:1500000000 test.d<br>
<br>
(I'd like D to have a standard syntax (maybe a pragma(...)) to tell the other parts of the compilation chain how much stack to use).<br></blockquote><div><br></div><div>If the stack size is only set by the executable on Windows, I don't see how that would be useful. </div>
</div><br>