Visible to Intel only — GUID: GUID-9CD8F910-E2F2-439C-8A9E-8FB365541E0A
Visible to Intel only — GUID: GUID-9CD8F910-E2F2-439C-8A9E-8FB365541E0A
static
Prevents linking with shared libraries.
Linux: |
-static |
macOS: |
None |
Windows: |
/static |
None
varies |
The compiler links with shared GNU libraries (Linux* systems) or shared Microsoft* libraries (Windows* systems) and it links with static Intel libraries, with the exception of the OpenMP* libraries and coarray library libicaf, which are linked in dynamically. On Windows* systems, option /static is equivalent to option /MT. |
This option prevents linking with shared libraries. It causes the executable to link all libraries statically.
This option does not cause static linking of libraries for which no static version is available, such as the OpenMP run-time libraries on Windows* or the coarray run-time libraries. These libraries can only be linked dynamically.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation. Offloading can only be enabled when using ifx.
None