Using Clang instead of GCC: Difference between revisions
imported>Milahu add link to C#Use_a_different_compiler_version |
imported>Milahu add section: ld: cannot find -lstdc++ |
||
Line 93: | Line 93: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Troubleshooting == | |||
=== ld: cannot find -lstdc++ === | |||
Problem: The C++ standard library (libstdc++.so) is missing | |||
Fix: Replace <code>pkgs.llvmPackages.stdenv</code> with <code>pkgs.llvmPackages.libcxxStdenv</code> | |||
== See also == | == See also == |