🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42091

Stack Size for gcc

#42091
From: Paul Repper
Date: Mon, 22 Jan 1996 00:00
14 lines
942 bytes
I am creating a rather large program using gcc on a SUN SPARC 10 station 
and think I may be running out of room on the stack.  Problem is that some 
variable initialization code is skipped during program execution.  Some seems
to be simply ignored (i.e. var = 1;  results in var of 0), some are visibly
skipped over, and others evaluate to "not active" by the debugger.

Is there any way to determine what the stack size is and to increase it 
if necessary?

Thanks in advance,
Paul Repper

repper@si.com
Technical Details
Message-ID: <DLLFy8.BqJ@esseye.si.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,70e6473f5508f2c6,start
X-Google-Attributes: gid11318c,public
From: repper@esseye.si.com (Paul Repper)
Subject: Stack Size for gcc
Date: 1996/01/22
Message-ID: <DLLFy8.BqJ@esseye.si.com>
X-Deja-AN: 136543018
distribution: usa
organization: Smiths Industries
keywords: Stack
newsgroups: gnu.gcc.help
summary: Need to determine/change stack size