This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binary incompatibility of code compiled w/ gcc 2.96 and 3.0.4


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]