[clang] [Clang][Driver] Revise Cygwin ToolChain to call linker directly (PR #147960)
Tomohiro Kashiwada via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 11 05:18:38 PDT 2025
================
@@ -1504,6 +1506,7 @@ void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args,
switch (Type) {
case ToolChain::CST_Libcxx:
CmdArgs.push_back("-lc++");
+ CmdArgs.push_back("-lc++abi");
----------------
kikairoya wrote:
It's packaging policy matter, but it would be better to merge libc++abi in libc++ because libc++ can't link to another ABI library. MinGW does so.
https://github.com/llvm/llvm-project/pull/147960
More information about the cfe-commits
mailing list