This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GNU compatibility with HP-UX aC++


> I would like to know if binaries/applications generated/built with GNU
> compiler are compatible with HP-UX aC++.  If not, is there a newer
> version of GCC that will be compatible?

No. In general, two different C++ compilers are not binary-compatible.
There are many reasons for that: different class layout, different
virtual table structures, different mangling.

So if you have binary-only libraries compiled with aC++, you have to
ask the author to recompile with g++, or you have to use aC++
yourself.

For C code, things are better in general; I can't give a definite
answer for HP-UX, though.

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]