Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!prls!amdimage!amdcad!decwrl!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.unix Subject: Re: using libraries with ld(1) Message-ID: <407@brl-tgr.ARPA> Date: Sat, 3-Aug-85 22:33:53 EDT Article-I.D.: brl-tgr.407 Posted: Sat Aug 3 22:33:53 1985 Date-Received: Tue, 6-Aug-85 06:01:52 EDT References: <125@shell.UUCP> Distribution: net Organization: Ballistic Research Lab Lines: 5 Some versions of "ld" support the "-Llibpath" option to specify an additional directory to search for libraries. You can always just name the library in the "ld" or "cc" command: cc -o myprog myprog.o mysub.o mylib.a -lm -lplot