Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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

macOS:

-fuse-ld=keyword

Windows:

-fuse-ld=keyword

Arguments

keyword

Tells the compiler which non-default linker to use. Possible values are:

bfd

Tells the compiler to use the bfd linker. This setting is only available for Linux and macOS.

gold

Tells the compiler to use the gold linker. This setting is only available for Linux and macOS.

lld

Tells the compiler to use the lld linker. This setting is not available for macOS.

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.

IDE Equivalent

None

Alternate Options

None