Visible to Intel only — GUID: GUID-11AE3A0A-9FA5-4C97-9A2F-D37F0B13573E
Visible to Intel only — GUID: GUID-11AE3A0A-9FA5-4C97-9A2F-D37F0B13573E
foffload-static-lib
Tells the compiler to link with a fat (multi-architecture) static library. This is a deprecated option that may be removed in a future release.
Syntax
Linux: |
-foffload-static-lib=file |
Windows: |
-foffload-static-lib=file |
Arguments
file |
Is the name of the fat static library to use. It can include the path where the library is located. |
Default
OFF |
No linking occurs to a fat static library. |
Description
This option tells the compiler to link with a fat (multi-architecture) static library.
The filename specified is treated as a "fat" static library of device code - an archive of fat objects. When linking, the compiler will extract the device code from the objects contained in the library and link it with other device objects coming from the individual fat objects passed on the command line.
If you try to pass libraries by using compiler option l, there can be dynamic libraries and partial linking with dynamic libraries, which may lead to a crash.
IDE Equivalent
Alternate Options
None