Article View: gnu.gcc.help
Article #62Re: installing gcc linker (ld)
From: david d 'zoo' zuhn
Date: Tue, 21 Jul 1992 18:44
Date: Tue, 21 Jul 1992 18:44
22 lines
1474 bytes
1474 bytes
+laser3$ ld -d -r -Bstatic -o test2.o test.o
+ld: test.o: wrong machine type
+collect: /usr/bin/ld returned 4 exit status
However, your stated command line seems to indicate that you're
using the sparc 'ld' rather than
'/usr/local/lib/gcc-lib/sun3/2.2.2/ld' (or something to that
effect).
Actually, what's probably happening here is that collect is being
installed for the cross-compiler, and collect has buried in it some
hardcoded pathnames for where to find the system linker.
You need to remove the ld in $(libsubdir)/ld and replace that with the
cross-linker. The linker in the binutils should work just find for a
cross-68k environment.
david d 'zoo' zuhn |
cygnus support | "Man made it, man can fix it."
zoo@cygnus.com | -- anonymous biker in South Dakota
Technical Details
Message-ID:
<ZOO.92Jul21134450@cirdan.cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!kithrup!cygnus.com!zooReferences:
<9207162210.AA26434@cod.nosc.mil> <1992Jul18.190052.11346@utkux1.utk.edu> <35900@sdcc12.ucsd.edu>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!kithrup!cygnus.com!zoo From: zoo@cygnus.com (david d 'zoo' zuhn) Subject: Re: installing gcc linker (ld) X-Md4-Signature: 796e8ab8f16556f2173a375c72eba996 Organization: Cygnus Support -- +1 415 322 3816 Distribution: gnu Date: Tue, 21 Jul 1992 18:44:50 GMT Message-ID: <ZOO.92Jul21134450@cirdan.cygnus.com> In-Reply-To: jclark@sdcc3.ucsd.edu's message of 21 Jul 92 18: 55:22 GMT References: <9207162210.AA26434@cod.nosc.mil> <1992Jul18.190052.11346@utkux1.utk.edu> <35900@sdcc12.ucsd.edu> Sender: news@kithrup.COM (Network News) Nntp-Posting-Host: cirdan.cygnus.com Lines: 22