Article View: comp.sys.amiga.tech
Article #2950Setting stack size under Aztec C 3.6a
From: Clinton Jeffery
Date: Thu, 15 Mar 1990 23:04
Date: Thu, 15 Mar 1990 23:04
16 lines
1091 bytes
1091 bytes
I have an application that requires a stack of 20000 or so bytes.
How can I specify this directly in the C code, instead of typing
"stack 20000" at the command line before running the program?
Under Lattice C, there is (probably) something called _STACK which
allows one to specify the stack size to use. Is it similarly easy
to do under Aztec C? I have searched the Aztec manuals to no avail.
(There is a mention of _stack used to specify stack size of terminate-
stay-resident programs, but nothing regarding normal application stacks.)
Thanks for any and all answers,
--
| Clint Jeffery, U. of Arizona Dept. of Computer Science
| cjeffery@cs.arizona.edu -or- {noao allegra}!arizona!cjeffery
--
Technical Details
Message-ID:
<139@caslon.cs.arizona.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!arizona!cjefferyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!arizona!cjeffery From: cjeffery@cs.arizona.edu (Clinton Jeffery) Newsgroups: comp.sys.amiga.tech Subject: Setting stack size under Aztec C 3.6a Keywords: stack amiga Message-ID: <139@caslon.cs.arizona.edu> Date: 15 Mar 90 23:04:40 GMT Organization: U of Arizona CS Dept, Tucson Lines: 16