Path: chuka.playstation.co.uk!news From: Chris Chadwick Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: Increasing stack size Date: Fri, 10 Jul 1998 03:03:57 -0700 Organization: PlayStation Net Yaroze (SCEE) Lines: 43 Message-ID: <35A5E70D.5AA2@dial.pipex.com> References: <359E80E4.50C7@dial.pipex.com> <35A10EA7.72CAF33D@jps.net> NNTP-Posting-Host: userp159.uk.uudial.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.02 (Win95; I; 16bit) Elliott Lee wrote: > > I fixed my problem with this permanently with STUBEDIT (in a > previous post) but you can do this in your progs with putting this in > your code: > > unsigned _stklen = 1048576; /* need a 1MB stack */ > > This info came from the source at: > > http://www.delorie.com/djgpp/v2faq/faq116.html > > - e! > > Chris Chadwick wrote: > > > > Hi > > > > Im getting a 'stack fault' error when compiling some of > > my modules with optimization which, judging by past > > posts Ive read, means I need to increase the size of > > the compilers stack(?). However, I cant seem to find > > these old posts which I seem to remember mentioned > > something about setting an environment variable (called > > go32 or something, whatever that is) to increase stack size. > > Can someone please tell me how to do this again. > > > > Thanks in advance > > > > -Chris > > -- > Mata ne, ... ... > - e! ::' tenchi@shell.jps.net ':: > (Protocol) :: ACiD -/- ACS -/- pHluid -/- Yaroze -/- Nemesis :: > (Tenchikun) ::. http://www.jps.net/tenchi .:: > ''' ''' Thanks for the info, Elliott! What was all that business I seem to remember about 'go32' then? -Chris