Developer Guide and Reference

ID 767253
Date 10/31/2024
Public
Document Table of Contents

F (Windows*)

Specifies the stack reserve amount for the program.

Syntax

Linux:

None

Windows:

/Fn

Arguments

n

Is the stack reserve amount specified as number of bytes. It can be specified as a decimal integer or as a hexadecimal constant by using a C-style convention (for example, /F0x1000).

Default

OFF

The stack size default is chosen by the operating system.

Description

This option specifies the stack reserve amount (in bytes) for the program. The amount (n) is passed to the linker.

Note that the linker property pages have their own option to do this.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

None

Alternate Options

None