Charles D. Russell wrote:
>> Danny Smith  wrote
> By default stack reserve is set to 2MB by ld.exe.  Try setting stack
> reserve higher, eg,
>  -Wl,--stack=0x2000000
> will get you 32MB stack reserve
> -------------------------------------
> 
> Thanks.  That was a revelation.  I thought stack was for pointers and
> automatic variables,
  ^^^^^^^^^^^^^^^^^^^

Yes, and that's what those massive arrays in your example code are.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to