[LLVMdev] compiler-rt with MSVC 2013
timurrrr at google.com
Thu Oct 23 10:18:57 PDT 2014
2014-10-23 10:18 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
> On Thu, Oct 23, 2014 at 1:15 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>> On Thu, Oct 23, 2014 at 1:13 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
>>> Yes it is.
>>> Are you doing a Debug or Release build?
>>> Using ninja?
>> Release build, cmake + MSVC (not using ninja).
>> Perhaps I have it configured stupidly; I have it as an out-of-tree folder, did:
>> E:\llvm\crt_build>cmake -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin -G
>> "Visual Studio 12" ..\compiler-rt
> Sorry, that should read:
> -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin\llvm-config.exe -G "Visual
> Studio 12" ..\compiler-rt
>> Opened up the solution, hit Build All.
>>> 2014-10-23 9:51 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
>>>> Hello! I'm wondering whether compiler-rt is expected to be buildable
>>>> with MSVC 2013. I am currently getting:
>>>> Error 49 error LNK2005: _free already defined in asan_malloc_win.obj
>>>> Which seems to be the only issue (aside from ~50 warnings, which I'll
>>>> happily work on cleaning up). I get this when I build the ALL_BUILD
>>>> project in the solution from cmake.
>>>> LLVM Developers mailing list
>>>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev