[Ilugc] mixing of gcc 3.x and gcc 4.x genrated shared objects

  • From: cnarendra_babu@xxxxxxxxx (narendra babu)
  • Date: Wed, 6 Jul 2011 15:48:36 +0530 (IST)

Hello folks ,
?
I have a 3rd party shared object (.so) file generated from gcc 3.x compiler and 
i dont have sources for the same and?I have upgraded my sources ( c++) to newer 
compilers gcc 4.x which needs to be linking with 3rd party shared object which 
is compiled by gcc 3.x
?
Please let me know is there any way i link old shared objects with newer 
compiler .
?
$g++ hello.c -lmylib3.so -lmylib4.so
?
here 
g++ is 4,x 
mylib3.so - created by gcc 3.x and 
mylib4.so is created by gcc4.x
?
?
Here also ?i am looking for c++ abi compatibility between g++ compilers 
?
Thanks
Naren
?

Other related posts: