30 Oct
2018
30 Oct
'18
3:17 p.m.
If you are able to build all, correctly, ...
I can, but I don't use lld or thin-lto.
I would like to build static libs, x64, statically linked with/instrumented for lld and thin-lto, optimized for broadwell (release and debug).
That's a bit odd because clang-win is basically clang-cl.exe, which is the cl.exe-compatible driver, and you'll be trying to use decidedly non-cl.exe things. But you can try with your config, I suppose. Use <archiver>"\"C:\\Program Files\\LLVM\\llvm-ar.exe\"" for now, to manually quote it. --target, <architecture>, <address-model> shouldn't be needed. <ranlib> is a gcc-style option, it's never worked with clang-win, only with clang-linux. <rc> too.