User and Reference Guide for the Intel® C++ Compiler 14.0

sysroot

Specifies the root directory where headers and libraries are located.

Architecture Restrictions

Not available on Intel® 64 architecture targeting Intel® MIC Architecture

Syntax

Linux OS:

--sysroot=dir

OS X:

None

Windows OS:

None

Arguments

dir

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

Default

OFF

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.

This option is provided for compatibility with gcc.

IDE Equivalent

None

Alternate Options

None


Submit feedback on this help topic