Expand stack in Cygwin

marco atzeri marco.atzeri@gmail.com
Tue Jun 12 22:08:00 GMT 2012


On 6/12/2012 11:43 PM, Robert Lewis wrote:

do not reply to a different thread to open a new thread.

> How does one increase the stack size of an application using Cygwin?  I have googled this and found suggestions such as adding
>
> -W1,--stack,8000000

-Wl not -W1 to pass the dato to the linker

http://cygwin.com/faq-nochunks.html#faq.programming.adjusting-heap

>
> to make the stack 8 meg.  However, this doesn't work for me.  I include this as an option to gcc in my makefile and bash just reports an error message.
>
> Robert H. Lewis
> Fordham University
>

Regards




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list