jonasf@kuling.UUCP (Jonas Flygare) (05/04/89)
We are trying to compile gcc (and g++) on our apollo workstations (3000) but are experiencing some (!! :-) difficulties. I have read about others with the same problems, but if any answers have been posted I must've missed them.. So.. Anyone out in netland have some help and advice to offer? -- Jonas Flygare (aka Flax) |Glenwhilly (n. Scots) email: jonasf@kuling.UUCP |A small tartan pouch worn beneath the real: Vaktargatan 32 F:621 |cilt during the thistle harvest. S-754 22 Uppsala Sweden | (Meaning of Liff, Adams & Lloyd)
vasta@apollo.COM (John Vasta) (05/09/89)
In article <1000@kuling.UUCP> jonasf@kuling.UUCP (Jonas Flygare) writes: >We are trying to compile gcc (and g++) on our apollo workstations >(3000) but are experiencing some (!! :-) difficulties. >I have read about others with the same problems, but if any answers have >been posted I must've missed them.. So.. >Anyone out in netland have some help and advice to offer? >-- >Jonas Flygare (aka Flax) |Glenwhilly (n. Scots) I have GCC 1.34 and 1.35 running on Apollo SR10.1. I haven't found the time yet to get G++ running but GCC is a prerequisite. To use my changes you need to be running SR10.x, have a recent version of the Apollo C compiler (I used 6.6), and the GNU distributions of GCC, GAS, and BISON. The changes for GCC 1.35 are smaller than those for 1.34. Send me mail if you'd like me to send you the changes.
gah@CML.UNL.EDU (Glen A. Hansen) (12/05/90)
I am running into problems making the gcc compiler on a DN3000 running SR10.2, cc ver. 6.7. I ftped the correct versions specified in APOLLO-GCC-README, and correctly followed the instructions listed there. I built bison ver. 1.11, gas ver. 1.35, and installed them in the correct locations. Upon invoking make in the gcc-1.37.1 directory, I get the following errors: cc -g -O -A cpu,3000 -A runtype,bsd4.3 -A systype,any -A nansi -DSHORT_ENUM_BUG -I. -I. -I./config -c ./c-parse.tab.c (2884) lue = 291; yylval.code = EQ_EXPR; goto done; ******** Line 2884 of "./c-parse.y": [Error #024] Multiple declaration of "yylval", previous declaration was on line 60 of "./c-parse.y". ******** Line 2884 of "./c-parse.y": [Warning #013] Old-fashioned initialization; missing "=". ******** Line 2884 of "./c-parse.y": [Error #116] Improper expression; "." found. ******** Line 2884 of "./c-parse.y": [Error #024] Multiple declaration of "EQ_EXPR", previous declaration was on line 543 of "./c-parse.y". ******** Line 2884 of "./c-parse.y": [Error #014] Unrecognizable item "goto"; syntax error in declaration. (2885) } ******** Line 2885 of "./c-parse.y": [Error #014] Unrecognizable item "}"; syntax error in declaration. /* rest of errors deleted */ Can anyone shed some light on this problem? Thanks in advance, -Glen Hansen
vasta@apollo.HP.COM (John Vasta) (12/07/90)
In article <9012042256.AA02468@cml.unl.edu> gah@CML.UNL.EDU (Glen A. Hansen) writes: >I am running into problems making the gcc compiler on a DN3000 running SR10.2, >cc ver. 6.7. > >I ftped the correct versions specified in APOLLO-GCC-README, and correctly >followed the instructions listed there. I built bison ver. 1.11, gas ver. 1.35, >and installed them in the correct locations. Upon invoking make in the gcc-1.37.1 >directory, I get the following errors: > >cc -g -O -A cpu,3000 -A runtype,bsd4.3 -A systype,any -A nansi -DSHORT_ENUM_BUG -I. -I. -I./config -c ./c-parse.tab.c > > (2884) lue = 291; yylval.code = EQ_EXPR; goto done; > >******** Line 2884 of "./c-parse.y": [Error #024] Multiple declaration of "yylval", > previous declaration was on line 60 of "./c-parse.y". > [...] > >Can anyone shed some light on this problem? Sounds like the c-parse.tab.c file got corrupted somehow. You can just delete it and make again; it will be regenerated from c-parse.y by bison. John Vasta Hewlett-Packard Apollo Systems Division vasta@apollo.hp.com M.S. CHR-03-DW (508) 256-6600 x5978 300 Apollo Drive, Chelmsford, MA 01824 UUCP: {decwrl!decvax, mit-eddie, attunix}!apollo!vasta