11 Jun
2009
11 Jun
'09
9:49 p.m.
Jan de Groot schrieb:
Usually glibc and libstdc++ are backwards compatible. ABI doesn't change so programs compiled against older versions will always work with newer libraries.
It's about forward compatibility. If you compile a program with a newer libstdc++, it will often not work with an older one.
There's an exception though: programs that do their library versioning after the compiler that was used. Examples of this are Qt and Boost. Compiling Qt 3.x with gcc 4.4 meant recompiling KDE 3.x things because ABI changed in Qt because of a compiler change.
This is still true for boost, but not for Qt 4. Qt 3 however is really annoying in that respect.