(-rpath-link): Clarify distinction between -rpath and -rpath-link.
This commit is contained in:
parent
a2c9f04d67
commit
ece2d90e7c
2 changed files with 34 additions and 27 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-06-27 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* ld.texinfo (-rpath-link): Clarify distinction between -rpath and
|
||||||
|
-rpath-link.
|
||||||
|
|
||||||
2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
|
2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
|
* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
|
||||||
|
|
|
@ -1493,7 +1493,7 @@ is possible to use unintentionally a different search path than the
|
||||||
runtime linker would do.
|
runtime linker would do.
|
||||||
|
|
||||||
The linker uses the following search paths to locate required shared
|
The linker uses the following search paths to locate required shared
|
||||||
libraries.
|
libraries:
|
||||||
@enumerate
|
@enumerate
|
||||||
@item
|
@item
|
||||||
Any directories specified by @option{-rpath-link} options.
|
Any directories specified by @option{-rpath-link} options.
|
||||||
|
@ -1502,7 +1502,9 @@ Any directories specified by @option{-rpath} options. The difference
|
||||||
between @option{-rpath} and @option{-rpath-link} is that directories
|
between @option{-rpath} and @option{-rpath-link} is that directories
|
||||||
specified by @option{-rpath} options are included in the executable and
|
specified by @option{-rpath} options are included in the executable and
|
||||||
used at runtime, whereas the @option{-rpath-link} option is only effective
|
used at runtime, whereas the @option{-rpath-link} option is only effective
|
||||||
at link time. It is for the native linker only.
|
at link time. Searching @option{-rpath} in this way is only supported
|
||||||
|
by native linkers and cross linkers which have been configured with
|
||||||
|
the @option{--with-sysroot} option.
|
||||||
@item
|
@item
|
||||||
On an ELF system, if the @option{-rpath} and @code{rpath-link} options
|
On an ELF system, if the @option{-rpath} and @code{rpath-link} options
|
||||||
were not used, search the contents of the environment variable
|
were not used, search the contents of the environment variable
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue