Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 9/08/2022
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.

NOTE:

For ifx on Windows, option /Qipo automatically sets option -fuse-ld=lld.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation. Offloading can only be enabled when using ifx.

IDE Equivalent
None
Alternate Options

None

See Also