Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Elliott Lee Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: Increasing stack size Date: Fri, 10 Jul 1998 10:54:18 -0700 Organization: Cisco Systems Lines: 56 Message-ID: <35A6554A.C6FC4B0A@jps.net> References: <359E80E4.50C7@dial.pipex.com> <35A10EA7.72CAF33D@jps.net> <35A5E70D.5AA2@dial.pipex.com> Reply-To: tenchi@jps.net NNTP-Posting-Host: dhcp-m-62-247.cisco.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [en] (Win95; U) I dunno for sure, but I believe you can use the stubedit utility to modify go32.exe. Although, stubedit should probably be used only on gcc.exe...? Chris Chadwick wrote: > > 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 -- Mata ne, ... ... - e! ::' tenchi@shell.jps.net ':: (Protocol) :: ACiD -/- ACS -/- pHluid -/- Yaroze -/- Nemesis :: (Tenchikun) ::. http://www.jps.net/tenchi .:: ''' '''