LINK Help (linker.hlp) (
Table of Contents;
Topic list)
STACKSIZE Statement
◄Up► ◄Contents► ◄Index► ◄Back►
─────LINK───────────────────────────────────────────────────────────────────
Syntax: STACKSIZE number
Specifies the size of the stack in bytes. STACKSIZE performs the
same function as LINK's /STACK option. If both are used, STACKSIZE
overrides /STACK. Do not specify STACKSIZE for a DLL.
See: ◄/STACK Option►
The <number> is a positive integer up to 64K-2. If an odd number
is specified, LINK rounds up to the next even value.
See: ◄Entering Numeric Arguments►
Example
STACKSIZE 4096
This example allocates 4,096 bytes of stack space.
-♦-