[gnu.g++.bug] Mixing and matching?

gordon%stats.ucl.ac.uk@NSS.CS.UCL.AC.UK (Gordon Joly Statistics UCL) (02/17/89)

On SUN-3/160, SunOS 3.4. gcc 1.33 with g++ 1.32

If we install gcc 1.33 after installing g++ 1.32,
the new CPP is used. Is this likely to cause problems,
say with error reporting at the preprocessor stage?
We also get "_main undefined" from gcc-ld++, when
in fact one (or more) of the *.o files is a waste of
space anyway!

[Note: to build g++ we took gcc 1.32 & g++ 1.32 source files.
We later installed gcc 1.33 ]

europa.cs.ucl.ac.uk:/stats/staff/karl/gordon/BAIES/WOOD[10] make
sccs get -s wood.h -Gwood.h
sccs get -s wood.cc -Gwood.cc
g++ -g -v -O -c wood.cc
g++ version 1.32.0
 /stats/staff/karl/gordon/GNU/usr/ucl/lib/gcc-cpp -+ -v -undef 
-D__GNU__ -D__GNUG__ -Dmc68000 -Dsun -Dunix -D__OPTIMIZE__ 
wood.cc /tmp/cca11144.cpp
GNU CPP version 1.33
 /stats/staff/karl/gordon/GNU/usr/ucl/lib/gcc-c++ /tmp/cca11144.cpp
-quiet -dumpbase wood.cc -opt -version -G -o /tmp/cca11144.s
GNU C++ version 1.32.0 (68k, MIT syntax) compiled by GNU C version 1.32.
 as -mc68020 /tmp/cca11144.s -o wood.o
[...]
g++ wood.o table.o oper.o -o wood -v -lg++ -lm
g++ version 1.32.0
 /stats/staff/karl/gordon/GNU/usr/ucl/lib/gcc-ld++ -C -o wood
/stats/staff/karl/gordon/GNU/usr/ucl/lib/gcc-crt0+.o /lib/Mcrt1.o
wood.o table.o oper.o -lg++ -lm -lg++
/stats/staff/karl/gordon/GNU/usr/ucl/lib/gcc-gnulib -lc
[...]

This example did produce a good image.


Gordon Joly.

Surface mail: Dr. G.C.Joly, Department of Statistical Science,
      University College London, Gower Street, LONDON WC1E 6BT, U.K.
E-mail:  					   | Tel: +44 1 387 7050
 JANET (U.K. network) gordon@uk.ac.ucl.stats       |      extension 3636
       (Arpa/Internet form: gordon@stats.ucl.ac.uk)| FAX: +44 1 387 8057
Relays: ARPA @nss.cs.ucl.ac.uk                     |
        EAN: @ean-relay.ac.uk                      |
	CSNET: %nss.cs.ucl.ac.uk@relay.cs.net      |
        BITNET: %ukacrl.bitnet@cunyvm.cuny.edu, @ac.uk
        EARN: @ukacrl.bitnet, @AC.UK, @uk.ac.earn-relay
By uucp/Usenet: ....!uunet!mcvax!ukc!stats.ucl.ac.uk!gordon