binary incompatibility of code compiled w/ gcc 2.96 and 3.0.4
Andrea 'fwyzard' Bocci
fwyzard-gcc@libero.it
Fri Apr 18 08:48:00 GMT 2003
At 13.58 17/04/2003 -0400, Stephen Fromm wrote:
>One strange thing, though, is that this problem occurred even for a simple
>hello, world type program written in C, not C++. Does that mean my
>installation of the C compiler and linker is linking to some C++ library, or
>can these binary compatibility issues occur with C also?
Actually, there should be C ABI compatibility - but only if the compiler is
configured in the same way (there are some strange options that could break
backwards compatibilty, IIRC), and ou use the same version of all the
dynamically linked libraries.
I don't know if 2.96 has it, but GCC 3.x has a runtime support library
(libgcc ?) that could cause problems.
Again, try -static and hope.
Andrea
More information about the Gcc-help
mailing list