X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-ID: <4FD7BDC0.3080100@gmail.com> Date: Wed, 13 Jun 2012 00:08:00 +0200 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Expand stack in Cygwin References: <1339537422 DOT 69022 DOT YahooMailClassic AT web122503 DOT mail DOT ne1 DOT yahoo DOT com> In-Reply-To: <1339537422.69022.YahooMailClassic@web122503.mail.ne1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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