This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
If I'm reading this right, libstdc++ now requires librt to link.
First of all, I think this will g++ -static. The compiler knows about the previous libm dependency, but not the new librt dependency.
Second of all, linking in librt on Linux also requires libpthread; this is going to make all C++ programs link in libpthread, which activates locking in glibc (a major overhead for single-threaded programs).
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |