Article View: comp.sys.sgi.misc
Article #393Re: libg++-2.8.0 on IRIX 6.2
From: Jim Wilson
Date: Fri, 13 Feb 1998 00:00
Date: Fri, 13 Feb 1998 00:00
36 lines
2378 bytes
2378 bytes
In article <34E3D4AE.DE0277C3@medusa.ccrn.uwa.edu.au>, Paul Dragicevich <paul@medusa.ccrn.uwa.edu.au> wrote: >A related question! (I've had similar problems with libg++-2.8.0 and >I've read another report stating the same thing) This is a bug in the libg++ 2.8.0 release. It won't build properly for any target that uses `multilibs'. irix6 is multilibbed because we want to build both N32 and N64 versions of the library. (The gcc irix6 port doesn't support O32 yet. You can configure for irix5 if you need that.) Since libg++ is being obsoleted, I recommend that you get the libstdc++ release instead, which does not have this problem. libstdc++ contains everything in libg++ except for the GNU class library. The GNU class library was not very widely used, and is much less interesting now that we have a standard class library, so it is unlikely that you need it. >but my question, when you compiled gcc-2.8.0 did you install collect2? >I managed to compile gcc fine but have just realised that I probably >need collect2 because one of my programs is not linking properly (each >source file compiles fine). If collect2 does anything useful, it should have been built and installed by default. Why do you think that collect2 will help you? >Compiling collect2 has given me similar headaches - some object files >are compiled with the -32 flag and some with -n32. I haven't been able >to find a solution at the moment. This indicates that you accidentally mixed cc/O32 and gcc/N32 objects which isn't going to work. You probably typed the wrong make command somewhere. I suspect you tried to build collect2 in an existing 3-staged build directory simply by typing `make collect2'. In that case, the correct command would be `make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2" collect2'. Jim
Technical Details
Message-ID:
<6c2604$290$1@rtl.cygnus.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34D8D19E.CCB6C26A@towson.edu> <34E3D4AE.DE0277C3@medusa.ccrn.uwa.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,7b289584317c0b91 X-Google-Attributes: gid11318c,public X-Google-Thread: 100159,7b289584317c0b91 X-Google-Attributes: gid100159,public From: wilson@cygnus.com (Jim Wilson) Subject: Re: libg++-2.8.0 on IRIX 6.2 Date: 1998/02/13 Message-ID: <6c2604$290$1@rtl.cygnus.com> X-Deja-AN: 324853220 References: <34D8D19E.CCB6C26A@towson.edu> <34E3D4AE.DE0277C3@medusa.ccrn.uwa.edu.au> Organization: Cygnus Solutions, CA Newsgroups: comp.sys.sgi.misc,gnu.gcc.help