Path: chuka.playstation.co.uk!tjs From: tjs@cs.monash.edu.au (Toby Sargeant) Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: optimization compiler bug ? Date: 15 Jun 1998 23:41:58 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 19 Message-ID: References: <35840650.7D29@livemedia.co.uk> <35845685.1169279@news.playstation.co.uk> <3584BE04.35B9AB81@shell.jps.net> NNTP-Posting-Host: indy16.cs.monash.edu.au X-Newsreader: slrn (0.9.5.1 UNIX) On Sun, 14 Jun 1998 23:24:04 -0700, Elliott Lee wrote: >The fault you're getting is probably due to the fact that the DJGPP >compiler is running out of stack space. I had this at first and it >frustrated the hell out of me. So, how do you fix it? Use the >attached prog called Stub Edit. > djgpp (or maybe go32) also understands an environment variable called dpmistack or dpmistacksize (can't remember which it is, or whether there are hyphens involved) which saves stuffing around with the executable. There's no reason to still be using a dos based compiler anyway, seeing as you can compile gcc for win32, and get something that's much better. That way you're also not locked in to using gcc 2.6.3. Of course you could make the real leap, and go to a freeware unix - for which there will soon be a version of timtool, among other things. toby.