Intel® oneAPI DPC++/C++ Compiler
Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
fuse-ld
Tells the compiler to use a different linker instead of the default linker, which is ld on Linux and link on Windows.
Syntax
| Linux: | -fuse-ld=keyword | 
| Windows: | -fuse-ld=keyword | 
Arguments
| keyword | Tells the compiler which non-default linker to use. Possible values are: 
 | 
Default
| Linux: ld | The compiler uses the ld linker by default. | 
| Windows: link | The compiler uses the link linker by default. | 
Description
This option tells the compiler to use a different linker instead of the default linker, which is ld on Linux and link on Windows.
On Linux, this option is provided for compatibility with gcc.
On Windows, option /Qipo automatically sets option -fuse-ld=lld.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
IDE Equivalent
Alternate Options
None