LINK Help (linkx.hlp) (Table of Contents; Topic list)
/STACK Option
                                             Up Contents Index Back
─────/STACK Option──────────────────────────────────────────────────────────
 
     Syntax:  /ST[ACK]:number
 
     The /STACK option lets you set the stack size in bytes. Specify a
     number from 1 to 64K in decimal or C-language notation. The
     default <number> varies with the language. For C programs, the
     default stack size is 2K (2,048 bytes). LINK rounds the specified
     value up to an even number.
     See: Entering Numeric Arguments
 
     If your program generates a stack-overflow error, you can increase
     the size of the stack. In contrast, if your program uses the stack
     very little, you may save some space by decreasing the stack size.
 
     NOTE: You can also use the EXEHDR utility to set the stack size.
           See: What Is EXEHDR? (in Miscellaneous Utilities Help)
                                    -♦-