This is the mail archive of the cygwin@sourceware.cygnus.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]

RE: How to increase stack size


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".


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