🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #582

renaming gnu ld

#582
From: John Hight
Date: Sat, 07 Nov 1992 00:16
19 lines
1164 bytes
With regards to gcc 2.3.1 on a sparc running 4.1:

I think (but I'm not sure) I want to rename the gnu linker (ld) to
something like gcc-ld, and install it somewhere other than /usr/local
since there is an older ("proven") version of gnu ld in /usr/local/lib
that I don't want to overwrite just yet.

How do I get gcc to look for it in, for example, the /new/lib
directory?  I've tried the -B switch, but I still see gcc invoking the
linker as "ld -e start...".

Must I resort to hardcoding the path and name into gcc.c somewhere?
I'm hoping there's a more proper way of invoking gnu ld.

Thanks

-- 
John Hight, SRI International	hight@sri.com	415-859-4279
Technical Details
Message-ID: <1992Nov7.001631.18055@erg.sri.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight
From: hight@sri.com (John Hight)
Subject: renaming gnu ld
Message-ID: <1992Nov7.001631.18055@erg.sri.com>
Originator: hight@gorilla.erg.sri.com
Sender: news@erg.sri.com
Organization: SRI International, Menlo Park, CA
Date: Sat, 7 Nov 92 00:16:31 GMT
Lines: 19