Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!lll-winken!ames!sgi!davea@quasar.wpd.sgi.com From: davea@quasar.wpd.sgi.com (David B. Anderson) Newsgroups: comp.sys.sgi Subject: Re: ar - the archiver Summary: ld does search /usr/local/lib ! Message-ID: <52410@sgi.sgi.com> Date: 2 Mar 90 01:42:18 GMT References: <9002281129.aa20377@SMOKE.BRL.MIL> <52318@sgi.sgi.com> <5798@udccvax1.acs.udel.EDU> Sender: davea@quasar.wpd.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 15 In article <5798@udccvax1.acs.udel.EDU>, mccalpin@vax1.acs.udel.EDU (John D Mccalpin) writes: > In article <9002281129.aa20377@SMOKE.BRL.MIL> JORDAN@gmr.COM writes: [stuff deleted] > Some notes on this technique: > (1) All of the SGI machines that I have used automagically search > /usr/local/lib, so the -L/usr/local/lib option is not needed here. Yes. John is right. 4D ld searches: /lib/ /usr/lib/cmplrs/cc(vers#) /usr/lib/ /usr/local/lib in that order (by default). We never create the /usr/lib/cmplrs directory. Regards, [ David B. Anderson Silicon Graphics (415)335-1548 davea@sgi.com ]