Article View: gnu.gcc.help
Article #51445gcc on the HP9000, Model 425
From: Rick Tonda
Date: Mon, 17 May 1993 17:16
Date: Mon, 17 May 1993 17:16
87 lines
4581 bytes
4581 bytes
Hello....
I have been trying for some time to compile and use gcc on an HP9000,
Model 425t computer. I currently run HPUX 9.0 (the latest rev) and am working
with the file I pulled over via anonymous ftp from prep.ai.mit.edu named:
gcc-2.3.3.tar
I receive several compiler errors in the very first module (cccp.c), and
this occurs if I use the default (hp-supplied, but brain-dead) compiler, OR my
version of gcc made from the 1.47 tar file. I would like to be up-to-date and
compatible with the other systems we have here at GMI, so I don't want to stay
with the old version of gcc. The feedback I get with native cc is reproduced
below:
<tonda> 343$ make
cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -DIN_GCC -I. -I
. -I./config \
-DGCC_INCLUDE_DIR=\"/usr/gnu/lib/gcc-lib/m68k-hp-hpux9.0/`sed -e 's/.*
\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/gnu/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/gnu/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/gnu/lib/gcc-lib/m68k-hp-hpux9.0/`sed -e 's/
.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
-DTOOLDIR=\"/usr/gnu/m68k-hp-hpux9.0/\" \
-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
Stop.
*********************************
Well, I wonder if that will be usefull. I am a fortran programmer, just
converting to c, so am a bit lost. I hoped to use gcc on all the platforms
available to me. Have you heard of this experience? Do you know of HP users
I might be able to talk to?
I thank you very much for any help or direction you can give.
rick tonda
(rtonda@tonda.gmi.edu)
Technical Details
Message-ID:
<9305171710.AA27585@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!pipex!bnr.co.uk!bnrgate!nott!torn!utnut!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!tonda.gmi.edu!rtondaShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d007991559d44739,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-17 11:28:50 PST Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!pipex!bnr.co.uk!bnrgate!nott!torn!utnut!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!tonda.gmi.edu!rtonda From: rtonda@tonda.gmi.edu (Rick Tonda) Newsgroups: gnu.gcc.help Subject: gcc on the HP9000, Model 425 Date: 17 May 1993 13:16:42 -0400 Organization: GNUs Not Usenet Lines: 89 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9305171710.AA27585@life.ai.mit.edu>