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.
/STACK Option
                                             Up Contents Index Back
─────LINK───────────────────────────────────────────────────────────────────
 
     Syntax:  /ST[ACK]:number
 
     The /STACK option sets the stack size in the program. Specify
     <number> bytes as a positive even value up to 64K-2. The default
     varies with the language. For C programs, the default stack size
     is 2K (2,048 bytes). Do not specify /STACK for a DLL.
     See: Entering Numeric Arguments
 
     NOTE: You can also use the EXEHDR utility to set the stack size.
           See: EXEHDR
                                    -♦-