ld(1bsd) (BSD System Compatibility)


ld -- (BSD) link editor, dynamic link editor

Synopsis

   /usr/ucb/ld [options] 

Description

/usr/ucb/ld is the link editor for the BSD Compatibility Package. /usr/ucb/ld is identical to /usr/bin/ld [see ld(1)] except that BSD libraries and routines are included before System V libraries and routines.

/usr/ucb/ld accepts the same options as /usr/bin/ld, with the following exceptions:

-L dir
Add dir to the list of directories searched for libraries by /usr/bin/ld. Directories specified with this option are searched before /usr/ucblib and /usr/lib.

-Y LU, dir
Change the default directory used for finding libraries. Warning: this option may have unexpected results, and should not be used.

Files

/usr/ucblib

/usr/lib

/usr/ucblib/libx.a

/usr/lib/libx.a

References

ar(1), as(1), cc(1), ld(1), lorder(1), strip(1), tsort(1)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.