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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linking libstdc++ with SCO CC


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.


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