Path: utzoo!utgpu!watmath!uunet!mcvax!unido!isaak!einstein.uucp!luik From: luik@einstein.uucp (Andreas Luik) Newsgroups: gnu.gcc Subject: Re: GCC installation on HP9000s350 - problems Keywords: problems HPUX Message-ID: <914@isaak.UUCP> Date: 11 Jul 89 14:07:39 GMT References: <2496@yunexus.UUCP> Sender: news@isaak.UUCP Reply-To: luik@isaak.uucp Organization: ISA GmbH, Stuttgart, West-Germany Lines: 55 > Has anybody successfully installed GCC (V1.35) on an HP9000 series > 350 running HPUX 6.2, or closely related systems? > > 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? In line 564 in file config/tm-hp9k320.h an "end comment marker" (*/) is missing, so ASM_IDENTIFY_GCC is not defined. The assembler output file of gcc will then begin with "gcc_compiled.:". This is not a valid label for the hp-ux assembler. To prevent this error apply the following patch to config/tm-hp9k320.h *** tm-hp9k320.h.ORIG Mon Jul 10 17:38:06 1989 --- tm-hp9k320.h Mon Jul 10 17:37:35 1989 *************** *** 561,567 **** { fprintf ((FILE), "mov"); (PTR) += 4; } \ } ! /* Prevent output of `gcc_compiled.:'. #define ASM_IDENTIFY_GCC(FILE) --- 561,567 ---- { fprintf ((FILE), "mov"); (PTR) += 4; } \ } ! /* Prevent output of `gcc_compiled.:'. */ #define ASM_IDENTIFY_GCC(FILE) > Thanks for any help on these matters, > > ----- > > Pierre Mathieu > CRESS, York University, > Ontario, Canada > mathieu@nexus.yorku.ca Hope this helps, Andreas Luik Domain: luik@isaak.isa.de ISA GmbH UUCP: luik@isaak.uucp Azenberstr. 35 Bang: ...!uunet!unido!isaak!luik 7000 Stuttgart (West-Germany) BITNET: luik%isaak.uucp@unido.bitnet