[LLVMbugs] [Bug 20065] New: clang-cl doesn't accept lib names

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 17 06:07:21 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20065

            Bug ID: 20065
           Summary: clang-cl doesn't accept lib names
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ehsan at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

According to http://msdn.microsoft.com/en-us/library/610ecb4h.aspx, the cl
driver needs to accept lib file names, but clang-cl doesn't.  Consider a test
file named test.cpp with an empty main function.  The following commands work
fine if $CC is cl.exe:

$CC -o test.obj -c test.cpp
$CC -o test.exe test.obj kernel32.lib

clang-cl however gives the following error:

clang-cl.exe: error: no such file or directory: 'kernel32.lib'

-- 
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/20140617/98cbf5ef/attachment.html>


More information about the llvm-bugs mailing list