This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Lib incompatibilities
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Frank <fgeck at optonline dot net>, GNU GCC help list <gcc-help at gcc dot gnu dot org>
- Date: Thu, 17 Jul 2003 07:53:38 -0500
- Subject: 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