Re: Linux -> IRIX port

New Message Reply Date view Thread view Subject view Author view

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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Aug 08 2000 - 14:41:53 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.