[llvm-bugs] [Bug 26965] New: clang should support -I= syntax

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 16 10:26:13 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=26965

            Bug ID: 26965
           Summary: clang should support -I= syntax
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dan.mcgregor at usask.ca
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Since GCC 4.3 gcc has supported prefixing include paths with the sysroot. If
the -I option starts with '=', the '=' is replaced by the sysroot prefix,
either the one provided by --sysroot, or if both --sysroot and -isysroot are
used then the one provided by -isysroot.

Similarly, the linker search path supports -L=. But I suspect that's binutils
ld itself and not the gcc driver.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160316/1e964cf8/attachment.html>


More information about the llvm-bugs mailing list