/F - Set Stack Size

This option sets the program stack size to number bytes.

/F number

The number argument is a hexadecimal number that can range from a lower limit of 0001 to an upper limit determined by the maximum stack size accepted by your linker. A space is required between the option and number. Syntax for this switch does not allow decimal and octal numbers. If you do not specify this option, the default stack size is 1 MB.

You may want to increase the stack size if your program gets stack-overflow diagnostic messages. If your program uses little stack space, you may want to decrease the size of your program by reducing the stack size.

See Also

About Microprocessor Compilers | ARM Guide | Hitachi Guide | MIPS Guide

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.