delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/17/09:56:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 17 Jul 2002 15:54:42 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <171443789665.20020717155442@familiehaase.de>
To: Sven Reitz <reitz AT eas DOT iis DOT fhg DOT de>
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

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/

- Raw text -


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