This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: GCC Compatibility in C++
Shlomit Morad writes:
>
> Orbotech is using GCC for C++ version 3.4.3 on Fedora 5
> We want to move to GCC version 4.1.1 on Fedora 6 or Centos
>
> I looked for any binary compatible statement between 3.x and 4.y but I
> didn't find any.
> A found some Q&A that are somewhat ambiguous
>
> Can you direct me to (or send me) a formal statement ?
The issue here is the C++ library. The compilers should generate
binary-compatible code, but the programs will probably be linked
against different C++ libraries.
Have a look at /usr/lib/libstdc++.so on your old system: it's a
symbolic link to a library with a version name. Now have a look at
/usr/lib/libstdc++.so on the new system.
Andrew.