This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: increase stacksize


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]