[gnu.g++.bug] vax - ultrix installation problems

FISK%BOWDOIN.BITNET@MITVMA.MIT.EDU (04/20/89)

(I also sent this to bug-g++@prep.ai.mit.edu.)

I just received g++ (1.34.2) from FSF on tape.  g++ compiled,
and works fine executing C programs.  I am using a VAX running ULTRIX 2.3.
Here are my problems:

(1)  I can not get libg++ to compile.  g++ fails on Integer.cc and
     Rational.cc  (details below)

(2) If I make libg++ with all files except these two, and try a trivial
    stream program, I get all sorts of unresolved references (see below).

(3) I had to use the "Fascist_Assembler" option to escape the "stabs"
    error.  I have GAS; how do I tell gcc and g++ to use it?

                        thanks for your (soon to be for me)
                        great product

                                steve   (fisk@bowdoin.bitnet)


------------------------------------------------- ( libg++ ) ---------

# cd src ; g++ -v -g -O -fchar-charconst -I/usr/local/lib/g++-include -I..  -fsa
ve-memoized -c  Integer.cc
g++ version 1.34.2
 /usr/local/lib/gcc-cpp -+ -v -I/usr/local/lib/g++-include -I.. -undef -D__GNU__
 -D__GNUG__ -Dvax -Dunix -D__vax__ -D__unix__ -D__OPTIMIZE__ Integer.cc /tmp/cc0
03012.cpp
GNU CPP version 1.34
 /usr/local/lib/gcc-c++ /tmp/cc003012.cpp -quiet -dumpbase Integer.cc -fchar-cha
rconst -fsave-memoized -opt -version -G -o /tmp/cc003012.s
GNU C++ version 1.34.2 (vax) compiled by GNU C version 1.34.
/usr/local/lib/g++-include/Integer.h:187: friend `even' implicitly overloaded
/usr/local/lib/g++-include/builtin.h:122: after declaration of non-overloaded `i
nt even (long int)'
/usr/local/lib/g++-include/Integer.h:188: friend `odd' implicitly overloaded
/usr/local/lib/g++-include/builtin.h:127: after declaration of non-overloaded `i
nt odd (long int)'

------------------------------------------------------  ( streams )

# cat t.cc
#include <stream.h>
main()
{
cout << "oh no\n" ;
}
-------------------------  And here is what happened ->

g++ -v t.cc
g++ version 1.34.2
 /usr/local/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dvax -Dunix -D__vax__
 -D__unix__ t.cc /tmp/cc003327.cpp
GNU CPP version 1.34
 /usr/local/lib/gcc-c++ /tmp/cc003327.cpp -quiet -dumpbase t.cc -noreg -version
-o /tmp/cc003327.s
GNU C++ version 1.34.2 (vax) compiled by GNU C version 1.34.
 as /tmp/cc003327.s -o t.o
 /usr/local/lib/gcc-ld++ -C /usr/local/lib/crt0+.o t.o -lg++ /usr/local/lib/gcc-
gnulib -lc
Undefined symbols:
 _File_PSFile_SI_Eio_mode
 _File_PSFile_PQI_PQI
 _File_PSFile
 _File_PSFile_SI_PQI_Eio_mode
 __$_File
 _put_PSFile_PQI
 _File_PSFile_PS_iobuf
 _File_PSFile_PQI_Eio_mode_Eaccess_mode

------------------------------------------  Here I look into the library
# ls -l /usr/local/lib/libg*
-rwxr-xr-x  1 root       422704 Apr 19 10:10 /usr/local/lib/libg++.a

# ar tv /usr/local/lib/libg++.a
rw-------  0/0  13072 Apr 18 12:13 1989 builtin.o
rw-------  0/0  21449 Apr 18 12:13 1989 File.o
rw-------  0/0  20399 Apr 18 12:14 1989 stream.o
rw-------  0/0  12571 Apr 18 12:15 1989 PlotFile.o
rw-------  0/0   6023 Apr 18 12:15 1989 SFile.o
rw-------  0/0   5290 Apr 18 12:15 1989 Obstack.o
rw-------  0/0  20375 Apr 18 12:16 1989 regex.o
rw-------  0/0  79312 Apr 18 12:19 1989 String.o
rw-------  0/0  22813 Apr 19 09:04 1989 Complex.o
rw-------  0/0  42301 Apr 19 09:06 1989 BitSet.o
rw-------  0/0 103012 Apr 19 09:09 1989 BitString.o
rw-------  0/0  16261 Apr 19 09:10 1989 Random.o
rw-------  0/0   3664 Apr 19 09:10 1989 RNG.o
rw-------  0/0   5934 Apr 19 09:10 1989 ACG.o
rw-------  0/0   3958 Apr 19 09:10 1989 MLCG.o
rw-------  0/0  15631 Apr 19 09:11 1989 Sample.o
rw-------  0/0  17941 Apr 19 09:12 1989 Fix.o
rw-------  0/0  11600 Apr 19 09:12 1989 CursesWindow.o
#




--
Steve Fisk                              Department of Mathematics
207-725-3574                            Bowdoin College
fisk@bowdoin.bitnet                     Brunswick, Me. 04011 USA