[llvm-dev] lld-link.exe error "could not open /LTCG:incremental: no such file or directory"
Zachary Turner via llvm-dev
llvm-dev at lists.llvm.org
Sun Dec 16 08:07:58 PST 2018
Don’t pass that flag, lld-link doesn’t recognize it. If you want LTCG with
llvm you need to pass -flto=thin on clang-cl, and delete the linker
On Sun, Dec 16, 2018 at 7:54 AM Osman Zakir via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I have the "/LTCG:incremental" flag turned on in VS2017 Linker options and
> I'm trying to build with the LLVM toolset. But I have the linker error
> mentioned in the title coming from lld-link.exe. Why does it think it's an
> input file and how do I tell it that it isn't? Note: I'm using clang-cl.exe
> as the compiler.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev