Article View: gnu.gcc.help
Article #50586"ld" for HP 9000 715/50 HPUX9.01
From: K3006E7
Date: Wed, 15 Sep 1993 16:21
Date: Wed, 15 Sep 1993 16:21
32 lines
2138 bytes
2138 bytes
I am presently on an HP9000 715/50 running HPUX9.01. I wish to
get gcc 2.4.5 to work on our machine. After having downloaded
gcc-2.4.5.u5 from jaguar.cs.utah.edu, and compiled, gcc seems
to compile source code okay, but isn't seem able to do the last
step using the linker. (I was told HP ld is incompatible with
gcc.)
I therefore also got hold of binutils-1.9 (later versions are also
incompatible) and compiled ld that comes with this package by doing:
1. use gcc as compiler (not cc)
2. copy alloca.c into the source directory from
gcc-2.4.5 as it doesn't come with the binutils
package
3. use flag -ftraditional
with this gnu ld seemingly okay.
But now, the make process stops again at the linker step with the
error message:
/users/mmm/bin/ld: malformed input file (not rel or archive) /lib/crt0.o
collect: ld returned 1 exit status
(I had installed gnu "ld" in /users/mmm/bin to make sure it works before
installing onto /usr/local/bin.)
Would someone kindly please help us interpret this problem, and how it
can be fixed. We seem to very close to getting gcc to work except for this
one last hitch. Perhaps we only need to use /users/mmm/bin/ld with the
proper -B, -I, or -L flag. Any ideas would be much appreciated!
Thank you very much!
Technical Details
Message-ID:
<93258.112108K3006E7@ALIJKU11.BITNET>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!bloom-beacon.mit.edu!ai-lab!prep.ai.mit.edu!gnulistsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,adda7d1e04b27592,start X-Google-Attributes: gid11318c,public X-Google-Thread: 10f1ff,adda7d1e04b27592,start X-Google-Attributes: gid10f1ff,public X-Google-ArrivalTime: 1993-09-15 18:22:39 PST To: GNU-UTILS-BUG@gatech.edu Organization: Johannes Kepler University Linz - Computing Center Date: Wed, 15 Sep 1993 11:21:08 CDT From: <K3006E7@alijku11.bitnet> Message-ID: <93258.112108K3006E7@ALIJKU11.BITNET> Newsgroups: gnu.gcc.help,gnu.utils.bug Subject: "ld" for HP 9000 715/50 HPUX9.01 Distribution: world Approved: info-gnu@prep.ai.mit.edu Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!bloom-beacon.mit.edu!ai-lab!prep.ai.mit.edu!gnulists Followup-To: gnu.gcc.help,gnu.utils.bug Lines: 33