[llvm-bugs] [Bug 44280] New: clang-cl silently ignores -Xclang -L<dir> and -Xclang -l<name >

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 11 17:05:32 PST 2019


            Bug ID: 44280
           Summary: clang-cl silently ignores -Xclang -L<dir> and -Xclang
                    -l<name >
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: alexchandel at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

(This is --target=i686-pc-windows-msvc,) invoking clang-cl with -Xclang -L<dir>
does not result clang passing '-libpath:<dir>' to the linker.  Similarly with
-l<name>.  This is particularly painful when cross-compiling.

-Xclang --sysroot=<dir> and -Xclang -isysroot appear similarly ignored.

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/20191212/03324d06/attachment.html>

More information about the llvm-bugs mailing list