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

L

Tells the linker to search for libraries in a specified directory before searching the standard directories.

Syntax

Linux:

-Ldir

macOS:

-Ldir

Windows:

None

Arguments

dir

Is the name of the directory to search for libraries.

Default

OFF

The linker searches the standard directories for libraries.

Description

This option tells the linker to search for libraries in a specified directory before searching for them in the standard directories.

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