linking libstdc++ with SCO CC
Nathan Myers
ncm-nospam@cantrip.org
Thu Jan 9 17:56:00 GMT 2003
On Thu, Jan 09, 2003 at 11:53:51AM -0500, Nimmagadda, Gautham wrote:
> Hi,
> I am trying to link libstdc++ from gcc 2.95.2 pl1 into my application
> using "CC" (SCO native compiler) as some of my third party libraries
> need it.
This will never work. Object files from one C++ compiler can
only be linked with files and libraries from another if the
symbols they share are declared extern "C".
Your only choices are to get the third party libraries recompiled
with your compiler, or to build with the same compiler as the third
party libraries were built with.
More information about the Libstdc++
mailing list