Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: stack fault... still! Date: Fri, 24 Jul 1998 11:04:10 +0100 Organization: Sony Computer Entertainment Europe Lines: 22 Message-ID: <35B85C1A.FAEFBD41@scee.sony.co.uk> References: <35B83682.2391@dial.pipex.com> NNTP-Posting-Host: mailgate.scee.sony.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5b1 [en] (Win95; I) X-Accept-Language: en Chris Chadwick wrote: > > I've tried using the suggested remedy of putting 'unsigned _stklen = 1048576' > into the code to enlarge the stack but it made no difference! That's not going to work, I think. The problem you've got is that the GNU compiler is crashing and burning, and having 'unsigned _stklen = 1048576' defined won't affect its operation. There must be something horrible in the source file somewhere. Try commenting out (or even removing) various pieces of your code until it compiles OK. And if you've got huge arrays, reduce their size (you're not trying to write functional code yet, you're just trying to get it to compile!) Once it compiles (as opposed to works, which it won't if you've removed parts) then you can focus on the part that's causing the GNU compiler to throw a hissy fit. Cheers, James -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe "Are you alright, sir?" "Yes, why?" "Well, you're 67% more weasly." - RDVII