Prints the target sysroot directory that is used during compilation.

Architecture Restrictions

Not available when targeting Intel® Xeon Phi™ products

Syntax

Linux:

-print-sysroot

macOS:

None

Windows:

None

Arguments

None

Default

OFF

Nothing is printed.

Description

This option prints the target sysroot directory that is used during compilation.

This is the target sysroot directory that is specified in an environment file or in option --sysroot. This option is only effective if a target sysroot has been specified.

This option is provided for compatibility with gcc.

Note

Even though this option is not supported for a Windows-to-Windows native compiler, it is supported for a Windows-host to Linux-target compiler.

IDE Equivalent

None

Alternate Options

None

See Also

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.