How to increase stack size

Sergey Okhapkin sos@prospect.com.ru
Sun Sep 6 00:42:00 GMT 1998


Mumit Khan wrote:
> > How do I increase the stack size for a program built
> > with cygwin b19, on NT?  
> > 
> 
> `ld --stack=<STACK_SIZE>' or `gcc -Wl,--stack=<STACK_SIZE>' should do the
> job, where STACK_SIZE is some number eg., 0x2300000.
> 
> `ld --help' is a good place to look.
> 

BTW, default stack size for cygwin or mingw compiled applications is 32M.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list