Mail Archives: djgpp/2009/05/21/01:30:24

X-Authentication-Warning: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Thu, 21 May 2009 00:27:47 -0500
From: "Charles Sandmann" <cwsdpmi AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
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>
Subject: Re: Increasing area for variable storage
Date: Thu, 21 May 2009 00:26:10 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
Message-ID: <>
Lines: 20
X-Trace: sv3-P3E0kLyMKSJm17APSrKFEZcY/R9D6GvyZvvluNjcCJh4yf6fkIKvfYJ/KEnZn1F6CXGp2b0kFSX3v3T!aQti2TZ/5mYjHE8ECyA1aTBVpGwid8Scm2xPzvHbxZ+3hsnzLLfrkHeuzNpsBAJahi/2kBYwNsN2!XEyjOqXsd93CwbWSjX3Nkdrj88RmqJ4=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39
X-Original-Bytes: 2015
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 in message 
news:0KJZ00EEK9DY1620 AT mta5 DOT srv DOT hcvlny DOT cv DOT net...
> "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?

Just one place (such as main.c) is fine.

> PS How can I get the error dump [stderr] into a file?

Check out the redir command.  You can also use the symify
command to take the output on the screen, add symbols
and capture that in a file. 

- Raw text -

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