This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Lib incompatibilities


Hi Frank,

The object code is not compatible.  The generated object code follows different conventions for RTTI, for exception handling, for name mangling, and for bootstrapping.

To get the Forte v6u1 and GCC v3.2.1 C++ code to work together, you need to construct a "C thunk barrier" code that bridges the one C++ environment to the other C++ environment.  (Or, alternatively, use the same compiler on all the code.)

Why isn't the object code compatible?

Because there isn't a common C++ ABI.

There is a common C ABI.

HTH,
--Eljay



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]