Mix g++ and native CC in Solaris
Phil Edwards
pedwards@disaster.jaj.com
Wed Apr 4 13:01:00 GMT 2001
I'm sure this is in several FAQs, but anyhow:
On Wed, Apr 04, 2001 at 10:27:02AM -0700, Jerry Hong wrote:
> I am building several shared library for Solaris2.6.
> Some are built using g++, others using native C++
> compiler (CC workshop 4.2).
> Now, I have an application using g++, and link with
> those libraries above. Is this going to work?
Probably not. Those two compilers do not have a common C++ ABI.
> I know it works if mixing libraries built by gcc and
> native c (cc) in Solaris.
Those two compilers /do/ have a common C ABI.
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.
More information about the Gcc
mailing list