Dan Kegel wrote:
With gcc 3.2 and later, shared libraries produced by g++ will have a stable ABI, and different machines (with different versions of gcc >= 3.2) will produce compatible shared libraries.
I forgot to mention: this also means that you can mix and match shared libraries produced by *other* c++ compilers, not just gcc!
See http://www.linuxbase.org/spec/refspecs/ http://www.codesourcery.com/cxx-abi/ http://www.armdevzone.com/EABI/CppABI.html
http://gcc.gnu.org/gcc-3.2/c++-abi.html http://www.intel.com/software/products/compilers/clin/clinux.htm
and, for a bit of solaris history wrt c++ abis, http://forte.sun.com/s1scc/articles/CC_abi/CC_abi.html