Turbo-C stack problem

Andy Sun Anu-guest sun at me.utoronto.ca
Fri Jul 20 04:17:22 AEST 1990


Hi,

Does anybody out there know if I can alter the stack size (increase it to be
specific) in Turbo C? And if yes, how can it be done? I got a stack overflow
error in my program (compiled using small model) and after I flipped through
all the manuals, I still cannot find anything that allow me to change the
stack size (there is a global variable called _stklen, but it doesn't mention
exactly how it is used). I CANNOT use anything higher than small model since
I will have a memory allocation error (insufficient memory). BTW, I am using
Turbo C version 1.5. Any suggestion and advises are welcome.

Andy

_______________________________________________________________________________
Andy Sun                            | Internet: sun at me.utoronto.ca
University of Toronto, Canada       | UUCP    : ...!utai!me!sun
Dept. of Mechanical Engineering     | BITNET  : sun at me.utoronto.BITNET





More information about the Comp.lang.c mailing list