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: Version mismatch between code and libraries compiled with different gcc version


On 03/24/2010 01:34 PM, Bud Davis wrote:

> i did RTFM on this, it was very informative but did not answer my question.
>  
> If I am using gcc-4.4, can i link to a library compiled with gcc-4.3 ?  
>  
> How about 4.1 ?
>  
> Or is compatability only when the exact 4.X compiler is used for both the libs and the other code.

It depends on the language.  With C you're OK, with C++ you must
use the same compiler and libraries.

Andrew.


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