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

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

sysroot

Specifies the root directory where headers and libraries are located.

Syntax

Linux:

--sysroot=dir

Windows:

None

Arguments

dir

Specifies the local directory that contains copies of target libraries in the corresponding subdirectories.

Default

Off

The compiler uses default settings to search for headers and libraries.

Description

This option specifies the root directory where headers and libraries are located.

For example, if the headers and libraries are normally located in /usr/include and /usr/lib respectively, --sysroot=/mydir will cause the compiler to search in /mydir/usr/include and /mydir/usr/lib for the headers and libraries.

IDE Equivalent

None

Alternate Options

None