(BSD System Compatibility)

ld(1bsd)


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)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004