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. This content is specific to DPC++.
Linux: | -foffload-static-lib=file |
Windows: | -foffload-static-lib=file |
file |
Is the name of the fat static library to use. It can include the path where the library is located. |
OFF |
No linking occurs to a fat static library. |
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.
None