From: giovanni@mecati.UUCP (Giovanni TADDEI)
Newsgroups: gnu.gcc.help
Subject: Re: Help needed building GCC-2.3.3 on HP 9400 and HPUX 7.03
Summary: Re: Help needed building GCC-2.3.3 on HP 9400 and HPUX 7.03
Date: 21 Jan 93 14:51:33 GMT
Organization: Mecasoft sa., Muralto, Switzerland

In article <1993Jan15.185524.27264@cs.tu-berlin.de>, whandke@opal.cs.tu-berlin.de (Wieland Handke) writes:

> 
> I have a problem installing the GNU C compiler (version 2.3.3) on a HP 9000 
> Series 400 computer running HP-UX 7.03.
> 
	I have the same problem with an hp425e running hp-ux 8.0.
	My configuration: hp9k345
	The output of the compilation process:

	cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300  -DIN_GCC        -I. -I. -I./config \
	  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/hp9k345/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
	  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
	  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
	  -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/hp9k345/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
	  -DTOOLDIR=\"/usr/local/hp9k345/\" \
	  -c `echo ./cccp.c | sed 's,^\./,,'`
"./tm.h", line 361: syntax error:
	} while (0)
	^
"./pcp.h", line 23: warning: no storage class, type specifier or type qualifier
   specified - 'int' assumed
"./pcp.h", line 31: syntax error:
	STRINGDEF *chain;		
	        ^
"./pcp.h", line 38: syntax error:
	STRINGDEF *str;
	        ^
"./pcp.h", line 40: zero sized struct/union
"cccp.c", line 590: syntax error:
	static STRINGDEF *stringlist;
	                 ^
"cccp.c", line 591: syntax error:
	static STRINGDEF **stringlist_tailp = &stringlist;
	                 ^
"cccp.c", line 4429: 'str' undefined
"cccp.c", line 4430: syntax error:
	int nkeys;
	  ^
"cccp.c", line 4445: syntax error:
	str = (STRINGDEF *) cp;
	                  ^
"cccp.c", line 4457: struct/union pointer required before '->'
"cccp.c", line 4457: left-hand side of '=' should be an lvalue
"cccp.c", line 4457: warning: incorrect combination of pointer and integer for
   operator '='
"cccp.c", line 4458: struct/union pointer required before '->'
"cccp.c", line 4458: left-hand side of '=' should be an lvalue
"cccp.c", line 4459: struct/union pointer required before '->'
"cccp.c", line 4459: left-hand side of '=' should be an lvalue
"cccp.c", line 4460: struct/union pointer required before '->'
"cccp.c", line 4460: left-hand side of '=' should be an lvalue
"cccp.c", line 4460: warning: incorrect combination of pointer and integer for
   operator '='
"cccp.c", line 4461: struct/union pointer required before '->'
"cccp.c", line 4461: left-hand side of '=' should be an lvalue
"cccp.c", line 4463: struct/union pointer required before '->'
"cccp.c", line 4463: left-hand side of '=' should be an lvalue
"cccp.c", line 4464: 'stringlist_tailp' undefined
"cccp.c", line 4464: operand for the indirection operator '*' should have
   non-void pointer type
"cccp.c", line 4465: struct/union pointer required before '->'
"cccp.c", line 4465: address operator '&' should not be applied to this operand
"cccp.c", line 4465: cannot recover from earlier errors: goodbye!
*** Error code 1

	NOTES: - gcc-2.3.2 built without problems on the same system.
	       - gcc-2.3.3 built without problems on an hp710 running
		 hp-ux 8.07.

----
Giovanni TADDEI                 tel +41 93 337444
c/o Mecasoft s.a.               Fax +41 93 335507
via Mariani 1A                  e-mail giovanni@mecasoft.ch
CH-6600 MURALTO