home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / gcc / help / 2474 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.1 KB  |  31 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: 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
  3. From: hight@sri.com (John Hight)
  4. Subject: renaming gnu ld
  5. Message-ID: <1992Nov7.001631.18055@erg.sri.com>
  6. Originator: hight@gorilla.erg.sri.com
  7. Sender: news@erg.sri.com
  8. Organization: SRI International, Menlo Park, CA
  9. Date: Sat, 7 Nov 92 00:16:31 GMT
  10. Lines: 19
  11.  
  12.  
  13. With regards to gcc 2.3.1 on a sparc running 4.1:
  14.  
  15. I think (but I'm not sure) I want to rename the gnu linker (ld) to
  16. something like gcc-ld, and install it somewhere other than /usr/local
  17. since there is an older ("proven") version of gnu ld in /usr/local/lib
  18. that I don't want to overwrite just yet.
  19.  
  20. How do I get gcc to look for it in, for example, the /new/lib
  21. directory?  I've tried the -B switch, but I still see gcc invoking the
  22. linker as "ld -e start...".
  23.  
  24. Must I resort to hardcoding the path and name into gcc.c somewhere?
  25. I'm hoping there's a more proper way of invoking gnu ld.
  26.  
  27. Thanks
  28.  
  29. -- 
  30. John Hight, SRI International    hight@sri.com    415-859-4279
  31.