Re: Lib incompatibilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wow, thanks. At first I could not see how one could use external 3rd party or standard libraries (but probably each compiler comes with it's own standard template lib hum?) if all the libs where not compatible. But I guess they construct a "C
thunk barrier" (humm, first time hearing about this).  LOoks like I need to compile al witht he same compiler.

Thanks!!!

Frank

Eljay Love-Jensen wrote:

> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux