Link your program with the static linked run-time system.
Standalone executables created with the static linked run-time system require the run-time system support modules to be available to the executable.
In a standalone executable, all of the support required by a program is copied into the program.
You can link with a version of the run-time system that suits your requirements for size and functionality. Lite is the smallest version of the run-time system, while Full is the largest.
options specifies the run-time system to use:
l | Lite |
b | Base |
f | Full |
d | Include debugging functionality |
s | Single-threaded |
m | Multi-threaded |
For details on these versions of the static linked run-time system, see the topic .
For example, the option:
-bfm
specifies the full multi-threading run-time system, while:
-blds
specifies the lite, single-threaded run-time system with debugging functionality.
You can enter the options in any order. You should only enter one of the l,b or f options, and one of the s or m options. If you enter more than one, only the last will be actioned. For example, -bbfsm is equivalent to entering -bfm.
If -b is specified without options, the default is -bbs.