Print this page
4795 /usr/bin/ld manpage and help should indicate '-soname' not '--soname'


 441 .na
 442 \fB\fB-G\fR\fR
 443 .ad
 444 .br
 445 .na
 446 \fB\fB-shared\fR\fR
 447 .ad
 448 .sp .6
 449 .RS 4n
 450 In dynamic mode only, produces a shared object. Undefined symbols are allowed.
 451 See Chapter 4, \fIShared Objects,\fR in \fILinker and Libraries Guide\fR.
 452 .RE
 453 
 454 .sp
 455 .ne 2
 456 .na
 457 \fB\fB-h\fR \fIname\fR\fR
 458 .ad
 459 .br
 460 .na
 461 \fB\fB--soname\fR \fIname\fR\fR
 462 .ad
 463 .sp .6
 464 .RS 4n
 465 In dynamic mode only, when building a shared object, records \fIname\fR in the
 466 object's dynamic section. \fIname\fR is recorded in any dynamic objects that
 467 are linked with this object rather than the object's file system name.
 468 Accordingly, \fIname\fR is used by the runtime linker as the name of the shared
 469 object to search for at runtime. See \fIRecording a Shared Object Name\fR in
 470 \fILinker and Libraries Guide\fR.
 471 .RE
 472 
 473 .sp
 474 .ne 2
 475 .na
 476 \fB\fB-i\fR\fR
 477 .ad
 478 .sp .6
 479 .RS 4n
 480 Ignores \fBLD_LIBRARY_PATH\fR. This option is useful when an
 481 \fBLD_LIBRARY_PATH\fR setting is in effect to influence the runtime library




 441 .na
 442 \fB\fB-G\fR\fR
 443 .ad
 444 .br
 445 .na
 446 \fB\fB-shared\fR\fR
 447 .ad
 448 .sp .6
 449 .RS 4n
 450 In dynamic mode only, produces a shared object. Undefined symbols are allowed.
 451 See Chapter 4, \fIShared Objects,\fR in \fILinker and Libraries Guide\fR.
 452 .RE
 453 
 454 .sp
 455 .ne 2
 456 .na
 457 \fB\fB-h\fR \fIname\fR\fR
 458 .ad
 459 .br
 460 .na
 461 \fB\fB-soname\fR \fIname\fR\fR
 462 .ad
 463 .sp .6
 464 .RS 4n
 465 In dynamic mode only, when building a shared object, records \fIname\fR in the
 466 object's dynamic section. \fIname\fR is recorded in any dynamic objects that
 467 are linked with this object rather than the object's file system name.
 468 Accordingly, \fIname\fR is used by the runtime linker as the name of the shared
 469 object to search for at runtime. See \fIRecording a Shared Object Name\fR in
 470 \fILinker and Libraries Guide\fR.
 471 .RE
 472 
 473 .sp
 474 .ne 2
 475 .na
 476 \fB\fB-i\fR\fR
 477 .ad
 478 .sp .6
 479 .RS 4n
 480 Ignores \fBLD_LIBRARY_PATH\fR. This option is useful when an
 481 \fBLD_LIBRARY_PATH\fR setting is in effect to influence the runtime library