(none)

Jit Keong Tan jit at SLIC.CELLBIO.DUKE.EDU
Sat Dec 29 01:58:14 AEST 1990


Subject: Finally, g++ version 1.37.2 beta up and running
cc: XBR2D96D%DDATHD21.BITNET at CUNYVM.CUNY.EDU jit

Ignore all my previous help-needed message about libg++ and g++ stuff.

There is a bug (you may call it undesired effect) in 

g++ version 1.37.2 beta (based on GCC 1.37) OSF 1.9.2.14 Sgi Mips

to prevent the g++ driver to call gcc-collect when the command is 3 characters
or less.  It took me 3 days trying to figure out what's wrong with my Makefiles
but it turns out that the problem is in gcc.c. 

diff gcc.c gcc.c.orig
1289,1290c1289,1290
<     if (argv0_len >= 3 && strcmp(argv[0] + argv0_len - 3, "g++") == 0)
<               set_cplus();
---
>     if (argv0_len > 3 && strcmp(argv[0] + argv0_len - 3, "g++") == 0)
>       set_cplus();

Although there is still one bug: g++ driver must be invoked with 'g++',
but I don't want to spend too much time. (I prefer to gpp than g++, 
it's g shift + shift +, too much work !) 
I'll just use C-shell alias.
=========================================================================
Anyway here's the tips to get g++ up and running.

gcc-osf-1.9.2.14.tar.Z and g++-osf-1.9.2.11.tar.Z from 
	foobar.colorado.edu (128.138.243.105) in pub/Gnu-For-Pmax
libg++-1.37.0.tar.Z from wuarchive.wustl.edu(128.252.135.4) in /archive/gnu
(I NFS mount to wuarchive, but I think this is the correct directory for ftp)

Thanks to all those who replied and especially to Martin Knoblauch of
XBR2D96D%DDATHD21.BITNET at CUNYVM.CUNY.EDU (Knobi der Rechnerschrat)
who showed me his run time result and makefiles that convinced me
it must be a bug in the program itself.  If fact, he told me to keep just
one copy of gcc.c.  And I found out that this bug that stumbled me is fixed in 
gcc-osf-1.9.2.14.tar.Z !!  So you may want to use the gcc.c from gcc instead
of gcc.c from g++.  Then read the HINTS file about iris section.

If anyone has a problem installing it, I'll be glad to help or to provide
the makefiles.

Thanks again.

--------------------------------------------------------
Jit Keong Tan     | internet: jit at slic.cellbio.duke.edu
(919) 684-8098    | bitnet  : tan00001 at dukemc.bitnet
--------------------------------------------------------
U.S. Mail:
Duke University Medical Center
Box 3709
Department Of Cell Biology
Durham, NC 27710



More information about the Comp.sys.sgi mailing list