Re: Version mismatch between code and libraries compiled with different gcc version

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

 



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 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