This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: How to increase stack size
- To: "Bates, Rod" <Rod dot Bates at wichita dot boeing dot com>, "'Mumit Khan'" <khan at xraylith dot wisc dot edu>
- Subject: RE: How to increase stack size
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Sun, 6 Sep 1998 11:43:13 +0400
- Cc: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>
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".