palmer@MWSUN.MITRE.ORG (03/24/89)
Hi, I have been trying to install G++-1.34.0 and have been unsuccessful so far. I have installed GCC-1.34 and BISON with no problems. I copied the src-g++ distribution to a new directory g++; made 2 symbolic links 'gcc -> gcc-1.34' and 'gcc-test -> gcc.1.34' and left the object and gcc executable files in the gcc-1.34 directory. I ran 'make maketest' and got all of the links. I then copied the tm-sun3.h file from 'gcc' and made the 'crt0' to 'crt0+' changes as required (copying the final file to 'sun3+.h'.) I ran './config.gcc' (there is no ./config.g++ as per the README) and relinked the 'tm.h' file to 'sun3+.h'. Then I typed 'make'. the files g++ gcc.o version.o and obstack.o were created. Then BISON was run on cplus-parse.tab.y and I got the 'shift-reduce' errors. Finally, the following happened : ../gcc-test/gcc -B../gcc-test/ -c -g -DSOS -DESKIT -O -DPARSE_OUTPUT=\"/usr/src/local/GNU/g++/cplus-parse.output\" cplus-parse.tab.c (all 1 line) bison.simple:68: parse error bison.simple:209: parse error bison.simple:278: parse error bison.simple:287: parse error bison.simple:309: parse error bison.simple:323: parse error bison.simple:332: parse error bison.simple:366: parse error bison.simple:398: parse error bison.simple:419: parse error bison.simple:481: parse error bison.simple:514: parse error bison.simple:549: parse error *** Error code 1 Stop. Sorry to be long-winded, but I wanted to be sure to give all of the facts. If anyone knows what the problem is could you send me a reply at the following e-mail address (I'm not on this mailing-list yet.) Thanks in advance. Forrest Palmer palmer@mitre.org palmer@mwsun.mitre.org palmer@mwunix.mitre.org