3 ms·
See: https://news.ycombinator.com/item?id=49355262 https://news.ycombinator.com/item?id=49355262 How libstdc++ initializes global variables absolutely depends
by okanat 1mo ago
See: https://news.ycombinator.com/item?id=49355262 https://news.ycombinator.com/item?id=49355262
How libstdc++ initializes global variables absolutely depends on glibc and ld-linux.so. That is part of C++ ABI.
- account42 1mo agoThat's libstdc++ depending on a C ABI (or a GNU ABI to be precise) but that doesn't make it a C++ ABI. You can also have global constructors in C with GCC.