# HG changeset patch # User Bruno Haible # Date 1550969355 -3600 # Node ID e63f5d3edab5a75dc0a75e572042e20977d701c8 # Parent 9734faea5d7ba2ad602865d09129761096edfd76 relocatable-prog: Update documentation. * doc/relocatable-maint.texi (Supporting Relocation): Update to match the recent changes. diff -r 9734faea5d7b -r e63f5d3edab5 ChangeLog --- a/ChangeLog Sun Feb 24 00:25:02 2019 +0100 +++ b/ChangeLog Sun Feb 24 01:49:15 2019 +0100 @@ -1,3 +1,9 @@ +2019-02-23 Bruno Haible + + relocatable-prog: Update documentation. + * doc/relocatable-maint.texi (Supporting Relocation): Update to match + the recent changes. + 2019-02-23 Paul Eggert nstrftime: tweak arg order diff -r 9734faea5d7b -r e63f5d3edab5 doc/relocatable-maint.texi --- a/doc/relocatable-maint.texi Sun Feb 24 00:25:02 2019 +0100 +++ b/doc/relocatable-maint.texi Sun Feb 24 01:49:15 2019 +0100 @@ -35,14 +35,21 @@ @itemize @item -On GNU/Linux, it adds a linker option (@option{-rpath}) that causes -the dynamic linker to search for libraries in a directory relative to -the location of the invoked executable. +On most operating systems, it adds a linker option (@option{-rpath}) that +causes the dynamic linker to search for libraries in a directory relative +to the location of the invoked executable. This works on GNU/Linux and +modern versions of FreeBSD, NetBSD, OpenBSD, Solaris, Haiku. @item -On other Unix systems, it installs a wrapper executable. The wrapper +On macOS, it modifies the installed executables after installation in a way +that causes the dynamic linker to search for libraries in a directory relative +to the location of the invoked executable. + +@item +On other Unix systems, it installs a trampoline executable. The trampoline sets the environment variable that controls shared library searching (usually @env{LD_LIBRARY_PATH}) and then invokes the real executable. +This applies to operating systems such as AIX, HP-UX, or Minix. @item On Windows, the executable's own directory is searched for libraries,