delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/12/17:44:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <1339537422.69022.YahooMailClassic@web122503.mail.ne1.yahoo.com>
Date: Tue, 12 Jun 2012 14:43:42 -0700 (PDT)
From: Robert Lewis <rfermat AT yahoo DOT com>
Subject: Expand stack in Cygwin
To: cygwin AT cygwin DOT com
In-Reply-To: <20120612170705.GA11738@ednor.casa.cgf.cx>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

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

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019