mardi 27 juin 2017

libstdc++ static linking in dynamic library

To understand question I should tell you more about program that loads dynamic library. It's Half-Life Dedicated server. It uses old libstdc++ which is located next to executable. To avoid issues, when using features from new standard library I usually link my project staticaly to libstdc++.

My friend told me that libstdc++ static linking can create problems, if 2 libraries are loaded compiled with different compilers or when I call function from server (which is internally implemented in terms of old lib).

Is it true? How can I resolve this issue?

Aucun commentaire:

Enregistrer un commentaire