You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the GNU C pre-processor, an argument called '-isysroot' (or '--sysroot', depending on circumstances) is allowed to specify the first part of the path or paths used in '-I' arguments. Any given '-I' argument may then reference the path given in the "sysroot" argument by starting the path with an '='. If either of those arguments appear on the compiler command line, it is used for both the pre-processor and the linker (for libraries); if both appear, the '-isysroot' argument is given to the pre-processor, and the other one goes to the linker.
Not clear is what happens if there is more than one '--sysroot' argument on the command-line, or whether that argument must appear before or after the '-I' arguments.
Support for just the '--sysroot' argument would make sense and allow paths given to each '-I' argument to be shorter.
The text was updated successfully, but these errors were encountered:
In the GNU C pre-processor, an argument called '-isysroot' (or '--sysroot', depending on circumstances) is allowed to specify the first part of the path or paths used in '-I' arguments. Any given '-I' argument may then reference the path given in the "sysroot" argument by starting the path with an '='. If either of those arguments appear on the compiler command line, it is used for both the pre-processor and the linker (for libraries); if both appear, the '-isysroot' argument is given to the pre-processor, and the other one goes to the linker.
Not clear is what happens if there is more than one '--sysroot' argument on the command-line, or whether that argument must appear before or after the '-I' arguments.
Support for just the '--sysroot' argument would make sense and allow paths given to each '-I' argument to be shorter.
The text was updated successfully, but these errors were encountered: