increase stacksize

Gerrit P. Haase freeweb@nyckelpiga.de
Wed Jul 17 07:50:00 GMT 2002


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/



More information about the Cygwin mailing list