Sep 9, 2012

[C++]Something about Application Binary Interface(ABI)

Stability of the C++ ABI: Evolution of a Programing Language[SUN/ORACLE]
ABI: problems of C++ programs compatibility at the binary interface level
gcc manual , Binary Compatibility
libstdc++ : ABI Policy and Guidelines
Linux and C++ ABI
C++ ABI issues list[stackoverflow]
The big problem, in my experience, is the C++ standard library. Even if you had an 
ABI that dictates how a class should be laid out, different compilers provide different implementations of standard objects
like std::string and std::vector. I'm not saying that it would not be possible to standardize the internal layout of C++
library objects, only that it has not been done before.

C++ ABI Summary

C++ ABI [In Simplified Chinese/CN]
 Several errors and mostly copy from  "Stability of the C++ ABI: Evolution of a Programing Language".
But if we know C++ Object Model, could identify it easily.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.