Prints the target sysroot directory that is used during compilation.
Linux: | -print-sysroot |
macOS: | None |
Windows: | None |
None
OFF |
Nothing is printed. |
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.
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.
None