using libraries with ld(1)

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Sun Aug 4 12:33:53 AEST 1985


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



More information about the Comp.unix mailing list