I have an old application framework that must be compiled with gcc 4.4.4 and an old libstdc++.so, which don't support C++14.
I want to use gcc 6.2 to write my new functions in C++14, and compiled them into a static library myslib.a.
myslib.a exports its functions only in pure C interfaces for ABI compatibility.
My issue is: The framework uses an old libstdc++.so, which is not compatible with C++14.
Is it possible to enforce myslib.a to statically link the latest libstdc++.a and ignore the older libstdc++.so?