LINK Help (linker.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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.
                                    -♦-