[PATCH] D12695: [Driver] Use UniversalCRT on Windows if available

Igor Kudrin via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 11 06:42:15 PDT 2015


Please, can you show the output of the following commands:

1) set include
2) set lib
3) clang-cl.exe -### -fms-compatibility-version=19 foo.cpp

On 11.09.2015 17:44, İsmail Dönmez wrote:
> This doesn't seem to work here, VS 2015 on Win 10 x64:
>
> C:\Users\ismail\Desktop>clang-cl.exe -fms-compatibility-version=19 foo.cpp
> LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
> clang-cl.exe: error: linker command failed with exit code 1104 (use -v
> to see invocation)
>
> Works fine after setting LIB.
>
> On Fri, Sep 11, 2015 at 3:11 AM, Reid Kleckner via cfe-commits
> <cfe-commits at lists.llvm.org> wrote:
>> This revision was automatically updated to reflect the committed changes.
>> Closed by commit rL247362: [Driver] Use UniversalCRT on Windows if available (authored by rnk).
>>
>> Changed prior to commit:
>>    http://reviews.llvm.org/D12695?vs=34475&id=34515#toc
>>
>> Repository:
>>    rL LLVM
>>
>> http://reviews.llvm.org/D12695
>>
>> Files:
>>    cfe/trunk/lib/Driver/MSVCToolChain.cpp
>>    cfe/trunk/lib/Driver/ToolChains.h
>>    cfe/trunk/lib/Driver/Tools.cpp
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>>



More information about the cfe-commits mailing list