Thread View: comp.sys.sgi.misc
5 messages
5 total messages
Started by Kevin Taylor
Wed, 04 Feb 1998 00:00
libg++-2.8.0 on IRIX 6.2
Author: Kevin Taylor
Date: Wed, 04 Feb 1998 00:00
Date: Wed, 04 Feb 1998 00:00
32 lines
1725 bytes
1725 bytes
(not quite sure if my first post made it)
-----------------------------------------
Has anyone had luck with compiling libg++-2.8.0 on IRIX 6.2?
I was able to compile it fine under IRIX 6.4 but it craps out most of
the way through compiling on 6.2...I think it's a -32, -n32, -64
confusion problem, but I haven't found a useful way to avoid it.
Anyone have any luck getting it to go?
note: I was able to compile gcc-2.8.0 fine under 6.2 and 6.4
Thanks in advance.
--
.................................. .........................
. .. ..
. "If you take cranberries and stew .. Kevin Taylor ..
.. them like applesauce, it tastes .. Systems Integrator ..
.. much more like prunes than .. ..
.. rhubarb does." ... ..
.. .. Towson University ..
... - Groucho Marx ... Computing & Network Services ..
.. .. ..
........................ ..............................
Re: libg++-2.8.0 on IRIX 6.2
Author: Paul Dragicevich
Date: Fri, 13 Feb 1998 00:00
Date: Fri, 13 Feb 1998 00:00
30 lines
1643 bytes
1643 bytes
A related question! (I've had similar problems with libg++-2.8.0 and I've read another report stating the same thing) 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). 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. Paul Kevin Taylor wrote: > > Has anyone had luck with compiling libg++-2.8.0 on IRIX 6.2? > > I was able to compile it fine under IRIX 6.4 but it craps out most of > the way through compiling on 6.2...I think it's a -32, -n32, -64 > confusion problem, but I haven't found a useful way to avoid it. > > Anyone have any luck getting it to go? > > note: I was able to compile gcc-2.8.0 fine under 6.2 and 6.4 > > Thanks in advance. >
Re: libg++-2.8.0 on IRIX 6.2
Author: Martin Knoblauch
Date: Fri, 13 Feb 1998 00:00
Date: Fri, 13 Feb 1998 00:00
50 lines
2319 bytes
2319 bytes
... hmm, I haven't looked at 2.8.0, but maybe the the old trick to configure for IRIX-5.3 (both gcc and libc of course) still works. And try to setenv SGI_ABI to "-32". Martin Paul Dragicevich wrote: > A related question! (I've had similar problems with libg++-2.8.0 and > I've read another report stating the same thing) > > 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). > > 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. > > Paul > > Kevin Taylor wrote: > > > > Has anyone had luck with compiling libg++-2.8.0 on IRIX 6.2? > > > > I was able to compile it fine under IRIX 6.4 but it craps out most of > > the way through compiling on 6.2...I think it's a -32, -n32, -64 > > confusion problem, but I haven't found a useful way to avoid it. > > > > Anyone have any luck getting it to go? > > > > note: I was able to compile gcc-2.8.0 fine under 6.2 and 6.4 > > > > Thanks in advance. > > -- ----------------------------------------------------------- Martin Knoblauch Project Application Manager Workstations / ECC Compaq Computer EMEA GmbH Einsteinring 6, D-85609 Dornach, Germany Phone: +int 89 9933-2383, Fax: -3799 Mobile: +int 171 8033 948 E-Mail: Martin.Knoblauch@Compaq.com
Re: libg++-2.8.0 on IRIX 6.2
Author: 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
Re: libg++-2.8.0 on IRIX 6.2
Author: Jim Wilson
Date: Fri, 13 Feb 1998 00:00
Date: Fri, 13 Feb 1998 00:00
16 lines
1143 bytes
1143 bytes
In article <34E409C8.D9BC9B0@compaq.com>, Martin Knoblauch <martin.knoblauch@compaq.com> wrote: > ... hmm, I haven't looked at 2.8.0, but maybe the the old trick to >configure >for IRIX-5.3 (both gcc and libc of course) still works. Yes it will still work, but it isn't necessary to solve these problems. None of the reported problems are actually gcc problems. Some of them are due to bugs in other packages, and some appear to be user error. >And try to setenv SGI_ABI to "-32". This won't help, because gcc does not support this environment variable. Jim
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads