[llvm-bugs] [Bug 25233] New: clang can't find link.exe on OS X for windows targets

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Oct 18 00:29:34 PDT 2015


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

            Bug ID: 25233
           Summary: clang can't find link.exe on OS X for windows targets
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: alexchandel at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Invoking clang as `clang -target i686-pc-windows-msvc ...` on OS X causes clang
to fail to find `link.exe` with "clang: error: unable to execute command:
Executable "link.exe" doesn't exist!".

However, `link.exe` exists in the PATH in `/usr/local/bin`, and is a symlink to
`lld`. I've also tried it with a shell script called `link.exe`, and by
renaming `lld` to `link.exe`, but the error persists. So clearly, clang is
mistaken.

-- 
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/20151018/bb5578ca/attachment.html>


More information about the llvm-bugs mailing list