[llvm-dev] Change default config of clang on Windows (original) (raw)
Максим Власов via llvm-dev llvm-dev at lists.llvm.org
Sun Feb 23 12:37:17 PST 2020
- Previous message: [llvm-dev] Publications on Instruction Scheduling
- Next message: [llvm-dev] Change default config of clang on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm getting trouble using clang with compiled libc++ on MSVC.
- why clang chooses
link
overlld-link
by default? I don't really wish to write-fuse-ld=lld-link
every single time I build something. - why
lld-link
doesn't search inside defaultlib
directory? I need to manually show him where it is although I put that binary in<LLVM root>\lib\
- why clang invokes linker with
-defaultlib:libcmt
? I mean libc++ build guide under MSVC produces -MD version of eitherlibc++.lib
orc++.lib
- Since (3), it's not possible to build anything without splitting
compiler and linker calls -
clang
by default produces -MT versions of objects and linker fails to compose it with -MD library. No,-dynamic
flag does not help either. Any fixes to these? Can I config clang somehow except--config
option? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200223/d8682eaa/attachment.html>
- Previous message: [llvm-dev] Publications on Instruction Scheduling
- Next message: [llvm-dev] Change default config of clang on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]