Subject: Re: increase stacksize
From: "Gerrit P. Haase" <[email-masked]>
To: Sven Reitz <[email-masked]>
Cc: [email-masked]
Date: Wed, 17 Jul 2002 15:54:42 +0200

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/