delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/06/10:43:50

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: How to increase stack size
6 Sep 1998 10:43:50 -0700 :
Message-ID: <01BDD98B.88950130.cygnus.gnu-win32@sos>
To: "Bates, Rod" <Rod DOT Bates AT wichita DOT boeing DOT com>,
"'Mumit Khan'"
<khan AT xraylith DOT wisc DOT edu>
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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019