r/cpp • u/debhaldar • Oct 10 '19
10 differences between static and dynamic libraries every C++ developer should know
https://www.acodersjourney.com/cplusplus-static-vs-dynamic-libraries/
5
Upvotes
r/cpp • u/debhaldar • Oct 10 '19
9
u/[deleted] Oct 10 '19
I'm pretty sure a dynamic library guarantees nothing of the sort. In c++ each compiler (-version) has its own ABI, and your library has to be built with the same compiler if you want to link with it.