[Ilugc] Link libs compiled by gcc with Sun studio compilers

  • From: skarra@xxxxxxxxx (Sriram Karra)
  • Date: Tue Sep 15 17:10:19 2009

On Mon, Sep 14, 2009 at 9:50 PM, narendra babu <cnarendra_babu@xxxxxxxxx>wrote:

hi ,

i have Sun studio comipler (CC) c++ 12 on X86 box and i have library whih
is compiled by gcc and created libcrypto.a

now is it possible that i can link the gcc compiled lib with sun compilers
on X86 box


I would recommend:

Step #1 - Read up about Application Binary Interface (ABI) and understand
Step #2 - Identify and read up on the relevant ABI for you (I suppose that
would be: Intel Binary Compatibility Standard)
Step #3 - Find out if the version of GCC you are interested in produces
object code fully compliant with the relevant ABI
Step #4 - Repeat #2 for the version of Sun compiler in question
Step #5 - Analyse

Have fun.

Other related posts: