[comp.sys.dec] DEC3100 cc compiler.. How to control stack size ?

ramesh@cbnewsl.ATT.COM (nallepilli.s.ramesh) (11/30/89)

Hi! I am somewhat new to the DEC3100 software environment and am having
difficulty porting some of our C programs from an ATT Unix (on VAX) to
the 3100.  I get a stack overflow message during execution, and do not
know how to increase the stack size during compile/link phase.  Any help
appreciated.  Thanks.

-----------
N. Ramesh
att!harpo!ramesh

dbb@riscy.enet.dec.com (David Barrett) (12/01/89)

> 
> Hi! I am somewhat new to the DEC3100 software environment and am having
> difficulty porting some of our C programs from an ATT Unix (on VAX) to
> the 3100.  I get a stack overflow message during execution, and do not
> know how to increase the stack size during compile/link phase.  Any help
> appreciated.  Thanks.

Actually, it's csh that is giving you the error message.  The built-in
command "limit"
will take care of the problem.  Just try:

% limit stacksize unlimited

Or you may want to try incrementing it little by little until the error
goes away. 


	David Barrett

	dbb@riscy.enet.dec.com
	..!decwrl!riscy.enet!dbb