Developer Guide and Reference

Contents

foffload-static-lib

Tells the compiler to link with a fat (multi-architecture) static library.
This content is specific to
DPC++
.

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
None
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.