lew@HARVARD.HARVARD.EDU (Paul Lew) (05/02/89)
Dear G++ gurus, I have some problems trying to install G++ version 1.34 on our system. Any help will be appreciated... Please Email your help because I am not on the mailing list. Machine: VAX-750 OS: BSD 4.3 Files ftped: 771849 Mar 15 10:23 g++-1.34.0.tar.Z 2330244 Feb 24 11:31 gcc.tar-1.34.Z 729553 Jan 31 12:59 gdb.tar-3.1.Z 565565 Mar 9 07:29 libg++-1.34.0.tar.Z 219145 Mar 15 14:03 bison.tar.Z Step involved: (1) Install gcc $ config.gcc vax $ make $ make stage1 $ make CC=stage1/gcc CFLAGS="-g -O -Bstage1/" $ make stage2 $ make CC=stage2/gcc CFLAGS="-g -O -Bstage2/" $ foreach file (*.o) cmp $file stage2/$file end $ make install gcc built, no error in all the steps above (2) Install bison $ make bison built ok, bison was not used in gcc because the ouput from previous bison was there. (3) Install g++ $ ln -s gcc-1.34 gcc $ ln -s gcc-1.34 gcc-test $ cd src-g++ $ make maketest $ config.gcc vax $ edit Makefile Change crt0+.o for Vax $ make error: 'syntax error' on line with: #if YYDEBUG != 0 Remedy: change cplus-parse.tab.c #define YYDEBUG to: #define YYDEBUG 1 $ make error: YYLTYPE undefine Remedy: pull YYLTYPE definition and add to cplus-parse.tab.h $ make $ make install g++ built ok (4) Install libg++ $ make (cd src; make GXX=g++ CC=gcc) g++ -g -O -fchar-charconst -I../g++-include -I.. -fsave-memoized -c builtin.cc Failed assertion 0 at line 3518 of `cplus-decl.c'. Program c++ got fatal signal 4. make[1]: *** Error 1 make: *** Error 1 It appear that the problem is in bison, but I could only find one version of bison in prep.ai.mit.edu. Should I get a different bison? -- Paul 05/01/89 06:01 PM --