mathieu@yunexus.UUCP (Pierre Mathieu) (06/30/89)
Has anybody successfully installed GCC (V1.35) on an HP9000 series 350 running HPUX 6.2, or closely related systems? I get the following warnings (in droves; below is just a sample) when compiling: cc -c -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -I./config c-parse.tab.c "c-parse.y", line 300: warning: enumeration type clash, operator == "c-parse.y", line 990: warning: enumeration type clash, operator != Do these matter? Will they have a negative effect on subsequent operations? When gcc has been created as the first stage, I then run the command: make CC=stage1/gcc CFLAGS="-O -Bstage1/" (I know that the INSTALL file says make CC=stage1/gcc CFLAGS="-g -O -Bstage1/" but this gives me an unrecognized option "-g") and get the following errors stage1/gcc -O -Bstage1/ -I./config \ -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \ -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c gcc.c as error: "/tmp/cca04697.s" line 1: invalid instruction mnemonic (gcc_compiled) as error: "/tmp/cca04697.s" line 1: syntax error *** Error code 1 Stop. Does anyone know what the problem is here? Thanks for any help on these matters, ----- Pierre Mathieu CRESS, York University, Ontario, Canada mathieu@nexus.yorku.ca
Duchier-Denys@cs.yale.edu (Denys Duchier) (07/02/89)
In article <2496@yunexus.UUCP>, mathieu@yunexus (Pierre Mathieu) writes: > Has anybody successfully installed GCC (V1.35) on an HP9000 series > 350 running HPUX 6.2, or closely related systems? Yes > I get the following warnings (in droves; below is just a > sample) when compiling: > > cc -c -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -I./config c-parse.tab.c > "c-parse.y", line 300: warning: enumeration type clash, operator == > "c-parse.y", line 990: warning: enumeration type clash, operator != Don't worry about it. I got tons of those, but they never seemed to make a difference. You can suppress these warnings with the -w option. > and get the following errors > > stage1/gcc -O -Bstage1/ -I./config \ > -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \ > -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c gcc.c > as error: "/tmp/cca04697.s" line 1: invalid instruction mnemonic (gcc_compiled) > as error: "/tmp/cca04697.s" line 1: syntax error > *** Error code 1 The problem is a non terminated comment at the end of file tm.h (aka config/tm-hp9k320.h), I think (well... I fixed it, so there is no trace of the old problem in the source I have). I believe there was a missing "*/" at the end of the line that says: /* Prevent output of `gcc_compiled.:'. It was somewhere in that area anyway. Good luck. --Denys