Visible to Intel only — GUID: GUID-D6F27597-3C76-4399-87FD-094A546420B4
Visible to Intel only — GUID: GUID-D6F27597-3C76-4399-87FD-094A546420B4
shared
Tells the compiler to produce a dynamic shared object instead of an executable.
Linux: |
-shared |
macOS: |
None |
Windows: |
None |
None
OFF |
The compiler produces an executable. |
This option tells the compiler to produce a dynamic shared object (DSO) instead of an executable. This includes linking in all libraries dynamically and passing -shared to the linker.
You must specify option fpic for the compilation of each object file you want to include in the shared library.
When you specify option shared, the Intel® libraries are linked dynamically. If you want them to be linked statically, you must also specify option static-intel.
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