Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 17 Jul 2002 15:54:42 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <171443789665.20020717155442@familiehaase.de> To: Sven Reitz CC: cygwin AT cygwin DOT com Subject: Re: increase stacksize In-Reply-To: <3D3511DC.5040408@eas.iis.fhg.de> References: <3D3511DC DOT 5040408 AT eas DOT iis DOT fhg DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sven schrieb: > i haven't found any information, if it's possible to increase the stacksize > for a programm which is compiled with gcc under cygwin. in windows there > aren't tools like ulimit and so on... how could i achieve it? I do this all the time when compiling perl. The commandline looks like this: gcc -Wl,--stack,8388608 -o your.exe your.source.c where the value for the stack is in bytes, default in Cygwin is 2MB. Isn't Cygwin specific, for more information look into the GCC and binutils documentation. Gerrit -- =^..^= -- 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/