kikairoya wrote: > > > $ clang++ -fuse-ld=lld hello.cc > > > > > > Do you have patched to LLD locally? This should fail with `unable to find > > library -lkernel32`. > > this new driver should be passing all the necessary `-L` paths to the linker, > including `/usr/lib/w32api`
Ah, yes, I was wrong. Paths are added here that I missed. Sorry. https://github.com/llvm/llvm-project/blob/dce445b3b301f605a6e53e047e3109cfbae0efc0/clang/lib/Driver/ToolChains/Cygwin.cpp#L47-L49 https://github.com/llvm/llvm-project/blob/dce445b3b301f605a6e53e047e3109cfbae0efc0/clang/lib/Driver/ToolChains/Cygwin.cpp#L238 https://github.com/llvm/llvm-project/pull/147960 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits