Article View: gnu.gcc.help
Article #53615Gcc et al on an HP400t
From: The Grand Master
Date: Wed, 16 Oct 1991 15:52
Date: Wed, 16 Oct 1991 15:52
85 lines
3160 bytes
3160 bytes
Has anyone installed gcc and all the associated programs on an hp400t?
I was able to compile gcc the first time (using HP-UX cc, as, ld, etc)
but that does not allow the -g option to gcc, so I wanted to compile
it with gcc, gas, and gcc-ld. Unfortunately, I have run into problems.
While running libconvert on gnulib, I get the following:
$ make gnulib
libconvert usg-gnulib gnulib
_adddf3.o
_adddi3.o
_addsf3.o
_anddi3.o
_ashldi3.o
_ashlsi3.o
_ashrdi3.o
_ashrsi3.o
_bb.o
_bdiv.o
_builtin_New.o
hpxt: illegal relocation segment type: 4
libconvert: 17443 abort - core dumped
*** Error code 134
Stop.
$
I do not know how to work around this.
I also have a few other problems. Here is what I get when ranlib
compiles:
cc -g -Ihp-include -DUSG -DNON_NATIVE -DVPRINTF_MISSING -o ranlib ranlib
.o getopt.o getopt1.o alloca.o
ld: Undefined external -
_psignal
_xmalloc
ld: output file still contains undefined symbols
*** Error code 1
Stop.
And a problem with gas:
$ make
cc -I. -DUSG -DUSE_HP_HDR -c write.c
"write.c", line 580: struct/union 'exec' does not contain member 'a_machtype'
"write.c", line 580: address operator '&' should not be applied to this operand
"write.c", line 580: 'HP9000S200_ID' undefined
"write.c", line 580: struct/union 'exec' does not contain member 'a_machtype'
"write.c", line 580: cannot recover from earlier errors: goodbye!
*** Error code 1
Stop.
$
And on a somewhat unrelated note, the configure script in fileutils
gives me:
# ./configure
.... [ stuff deleted ]
checking for ftruncate
checking integer size
./configure[253]: ./conftest: not found
checking utime with null argument
./configure[267]: ./conftest: not found
checking for Minix
checking for Xenix
checking how to get alloca
sed: command garbled: s,@DEFS@, -DDIRENT -DST_BLOCS_MISSING-DFS_MNTENT -DUSG -
Duid_t=int
sed: command garbled: s,@DEFS@, -DDIRENT -DST_BLOCS_MISSING-DFS_MNTENT -DUSG -
Duid_t=int
sed: command garbled: s,@DEFS@, -DDIRENT -DST_BLOCS_MISSING-DFS_MNTENT -DUSG -
Duid_t=int
sed: command garbled: s,@DEFS@, -DDIRENT -DST_BLOCS_MISSING-DFS_MNTENT -DUSG -
Duid_t=int
Does anyone know anything about any of these errors, and how they can be fixed?
Uggh - how aggravating!
Bruce
--
-How long must we fight? How long Courtesy of Bruce Varney
until we can live in peace. asg@sage.cc.purdue.edu
-Until the madmen are dead my son,
Or until they realize that they cannot count on us to do nothing
Technical Details
Message-ID:
<22264@mentor.cc.purdue.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!sage.cc.purdue.edu!asgShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,eb3256b52f3d7d2,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-10-17 03:28:57 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!sage.cc.purdue.edu!asg From: asg@sage.cc.purdue.edu (The Grand Master) Newsgroups: gnu.gcc.help Subject: Gcc et al on an HP400t Message-ID: <22264@mentor.cc.purdue.edu> Date: 16 Oct 91 15:52:31 GMT Sender: news@mentor.cc.purdue.edu Organization: Purdue University Computing Center Lines: 85 Originator: asg@sage.cc.purdue.edu