From: Allan Schaffer (allan++at++sgi.com)
Date: 08/08/2000 14:41:50
On Aug 8, 2:57pm, c937161++at++student.dtu.dk wrote:
> I'm trying to port a C++ Performer app from Linux to IRIX using the GNU
> g++ compiler. All modules compile just fine, but the linking stage creates
> a lot of unresolved symbols. An old posting (1997) stated that one would
> *not* succeed using g++, but has this changed recently since the Linux
> Performer uses g++.
It hasn't, sorry. We use CC on IRIX. g++ and the 'CC' (SGI MipsPro
C++) compilers generate different style symbol tables & have other
internal variations with the object files & libraries they create, so
to my knowledge you cannot link a g++-compiled object file with a
library that was compiled with CC.
This same problem is what causes trouble when trying to use the KAI
C++ compiler with Performer on Linux.
So I think there's no choice but to use g++ on Linux, and CC on IRIX.
Allan
-- Allan Schaffer allan++at++sgi.com Silicon Graphics http://reality.sgi.com/allan
This archive was generated by hypermail 2b29 : Tue Aug 08 2000 - 14:41:53 PDT