Manish,

The quick answer is, "no". SunStudio and gcc compilers have different ABI and 
C++ name mangling. In addition, g++ usually links in their own runtime 
libraries so you might even need to link both runtime libraries which is 
dangerous.

This discussion has happened in a number of forums here and elsewhere. g++ even 
has problems linking between versions.

I have a similar problem because I link in two different vendors libraries. I 
have to beg one to supply a Sun compiler version so I can use a Sun compiled QT 
library with it.

Gary
 
 
This message posted from opensolaris.org

Reply via email to