| Syntax: | Default: |
| link(stack, reserve) link(stack, reserve, commit) |
This option sets the total size of the program stack in bytes. It is implemented differently on different platforms.
On
OS/2, the parameters of this option are as follows:
reserve specifies the number of bytes to be allocated for the stack size of the application. The value specified is rounded up to an even number. The default, 0, specifies the total storage required for all STACK32 sections found in the set of linked object files. commit is ignored. However you can specify a number so that the configuration file is portable between platforms.
For
compatibility with OS/2 V2.0, certain stack sizes are incremented
by 0x10000. This affects stack sizes that have 0x02 or 0x04 as
their second-most-significant byte.
On
Windows, the parameters of this option are as follows:
reserve specifies the total virtual address space reserved for the program stack, in bytes. commit specifies the amount of physical memory to allocate initially. You can omit this parameter. If you supply a value that is smaller than reserve, memory demand is reduced but execution time may be slower.
![]()
Incremental C++ Builds
C Compilation
Configuration
Files
The Program Stack
