Visible to Intel only — GUID: GUID-58432091-B79D-415C-B632-FB3BE50ADE45
Visible to Intel only — GUID: GUID-58432091-B79D-415C-B632-FB3BE50ADE45
sysroot
Specifies the root directory where headers and libraries are located.
Linux: |
--sysroot=dir |
macOS: |
None |
Windows: |
None |
dir |
Specifies the local directory that contains copies of target libraries in the corresponding subdirectories. |
Off |
The compiler uses default settings to search for headers and libraries. |
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.
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