Article View: gnu.gcc.help
Article #54194Re: ackkk! GCC, GAS, and GDB on HPUX v7
From: Carl Edman
Date: Thu, 10 Jan 1991 07:24
Date: Thu, 10 Jan 1991 07:24
63 lines
4010 bytes
4010 bytes
In article <jae.663440395@pv031e.vincent.iastate.edu> jae@iastate.edu (Edwards John Andrew) writes:
The point is that I installed GCC on our HPUX system, and that
went VERY smoothly. I compiled all of the code for the software;
after a little patching up (mostly fixing prototypes), it worked
quite well (better than the HPCC version).
But, alas, we really should have a debugger along with the
compiler, and everyone KNOWS that HPUX need GAS to make a
debugger, GDB, available (it seems that GCC and the HP debugger,
XDB, are ioncompatable).... So, ...
I thought I should install GAS. This has proved to be a
nightmare! I ftp'ed gas-1.37 from prep.ai.mit.edu and set out to
compile just as I had originally for GCC (version 1.37.1). To my
surprise, there was precious little documentation on how to
install the package (unlike GCC, which was very well documented).
I thought there would at least be a texinfo file. Undaunted, I
followed the instructions, and proceeded to get to work,
compiling with the GCC I had.
[ ... ]
One problem was with the write.c stuff, which I assume was due to
the fact that we have hp9000s300, and the write.c has some sort
of conditional based on it being hp9000s200. I guess the a.out
headers changed a little with the new system. What it meant was
that the EXEC_MACHINE_TYPE was no longer define'd, so one line
was gone. But I don't think that's the problem.
Has anyone else seen this problem? Have I made some incorrect
assumptions while compiling? Can I use GDB without compiling
GAS?
OK, it is a few weeks since I posted this information the last time,
so here it is again: Most of the gnu-binaries for HPUX 9000/[34]00 are
available in a single archive file from golem.ps.uci.edu via anon-ftp.
This archive file contains completely working gcc/gas/gdb/g++/and
assorted other gnu tools. I've been using all of them for months and
years virtually without a glitch, so they should be pretty stable. But
a word of warning: The archive intentionally uses absolute path-names.
This means that all file are correctly unpacked in their directories
and installation is complete after "uncompress <gnubin.tar.Z | tar xf -".
This also means that you have to have root access on the system you
install these files on. I choose to do this as the path-names in which
these binaries search each other are compiled into the code and being
able to move them to other directories wouldn't be very useful. If you
have any problems installing this (or compiling any gnu tool under
HPUX 7.0) feel free to write to me, chances are I've encountered the
problem before.
About Gas 1.37, yes I had similar problems to you when I tried to
install it and gave up after a few hours. Fortunately version 1.36
(included in the archive) works just fine, and I know of no
significant advantage of 1.37, so I wouldn't worry about it.
Carl Edman
Theorectical Physicist,N.:A physicist whose | Send mail
existence is postulated, to make the numbers | to
balance but who is never actually observed | cedman@golem.ps.uci.edu
in the laboratory. | edmanc@uciph0.ps.uci.edu
Technical Details
Message-ID:
<CEDMAN.91Jan9232554@lynx.ps.uci.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!orion.oac.uci.edu!cedmanReferences:
<jae.663440395@pv031e.vincent.iastate.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,752dce1e5f1182fd X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-01-09 23:24:49 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!orion.oac.uci.edu!cedman From: cedman@golem.ps.uci.edu (Carl Edman) Newsgroups: gnu.gcc.help Subject: Re: ackkk! GCC, GAS, and GDB on HPUX v7 Message-ID: <CEDMAN.91Jan9232554@lynx.ps.uci.edu> Date: 10 Jan 91 07:24:49 GMT References: <jae.663440395@pv031e.vincent.iastate.edu> Organization: University of California, Irvine, USA. Lines: 63 Nntp-Posting-Host: lynx.ps.uci.edu In-reply-to: jae@iastate.edu's message of 9 Jan 91 16:59:55 GMT