Compiler Option: -t
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=CompilerOptt
- Last revised: 2021-10-12
Set stack size in kilobytes
Syntax
-t< stack size >`
`
Parameters
stack size
Stack size in kilobytes.
Description
The -t compiler option sets the stack size in kilobytes (defaults to 1024 KBytes for 32-bit targets, and 2048 KBytes for 64-bit targets). The local arrays are created in the stack, so 1 MB or 2 MB of stack is not always enough.
Version
- Before fbc 1.08.0, the default stack size for 64-bit targets was also 1024 KBytes.
Platform Differences
- Supported on Windows, Cygwin and DOS only.
See also
Back to DocToc