| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | Martin Str|mberg <ams AT brother DOT ludd DOT luth DOT se> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Increasing area for variable storage |
| Date: | Fri, 22 May 2009 08:47:56 +0000 (UTC) |
| Organization: | Aioe.org NNTP Server |
| Lines: | 16 |
| Sender: | nntp AT aioe DOT org |
| Message-ID: | <gv5ors$ku$1@aioe.org> |
| References: | <0KJY00585R208H10 AT mta5 DOT srv DOT hcvlny DOT cv DOT net> <EYqdnW-SUoAJFonXnZ2dnUVZ_qadnZ2d AT earthlink DOT com> <0KJZ00EEK9DY1620 AT mta5 DOT srv DOT hcvlny DOT cv DOT net> |
| NNTP-Posting-Host: | xVCQLO5xxxG8TTntjrBifQ.user.aioe.org |
| X-Complaints-To: | abuse AT aioe DOT org |
| X-Notice: | Filtered by postfilter v. 0.7.9 |
| Cancel-Lock: | sha1:d6BkRjoCyHfPdKz7Da+kWay14CY= |
| User-Agent: | tin/1.4.7-20030322 ("Suggestions") (UNIX) (SunOS/5.9 (sun4u)) |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Ethan Rosenberg <ethros AT earthlink DOT net> wrote: > "If the default stack size is not enough, you can change it with the > STUBEDIT program (change the parameter "Minimum amount of stack > space"), or by setting the global variable _stklen in your program. Example: > unsigned _stklen = 1048576; /* need a 1MB stack */" > If I wish to use _stklen, do I have to put the above statement in > each function, or is it sufficient to put in in main? No. You put it (once) outside any function. Note it says "global variable". -- MartinS
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |