Re: Binary compatibility of gcc 3.4.4 and gcc 4.2.0

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

 



jvl072170@xxxxxxxxxxxxxxxxx wrote:

> I want to build a program in GNU g++ 4.2.0 linking it with a static
> librrayd object built using gcc 3.4.4. Does the libxyz.a compiled using
> gcc 3.4.4 link properly with a program being compiled using gcc 4.2.0

Usually yes, but not with C++.

> I checked both the compilers use ABI version 2.
> Version 4.2.o uses libstdc++.so.6.0.8 while 3.4.4. uses libstdc++.so.6.0.3.
> What is the diffrence among these two versions of libstdc++??

These libraries are not binary compatible, sorry.  You'll have to
recompile.

Andrew.

[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