From: mcneils@applique.sedd.trw.com (Sean McNeil)
Subject: stack size (was Re[2]: serious bug with CYGNUS GCC b16)
4 Dec 1996 17:33:02 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199612050045.QAA10067.cygnus.gnu-win32@app006221.sedd.trw.com>
Original-To: benson@healthcare.com
Original-Cc: gnu-win32@cygnus.com
In-Reply-To: <1.5.4.32.19961204142529.0063e564@vault.healthcare.com>
	(benson@healthcare.com)
Original-Sender: owner-gnu-win32@cygnus.com


This explains a question I was getting ready to pose.  Apparantly, gcc
adds stack probing whenever allocating large (>4k) space on the stack.
I thought that this would extend the stack.  I guess it does assist in
doing so by increments of sizecommit, but will not extend past
sizereserve.  So, I need to set the sizereserve to something nice and
large.  As mentioned, this is done with the -stack option to ld and can
be made a default option when linking with gcc.

Thanks for the info.
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
