comparison doc/relocatable-maint.texi @ 40196:e63f5d3edab5

relocatable-prog: Update documentation. * doc/relocatable-maint.texi (Supporting Relocation): Update to match the recent changes.
author Bruno Haible <bruno@clisp.org>
date Sun, 24 Feb 2019 01:49:15 +0100
parents a92075582b06
children 91454190d749
comparison
equal deleted inserted replaced
40195:9734faea5d7b 40196:e63f5d3edab5
33 to relocatable executables. The @code{relocatable-prog} module helps out 33 to relocatable executables. The @code{relocatable-prog} module helps out
34 here in a platform-specific way: 34 here in a platform-specific way:
35 35
36 @itemize 36 @itemize
37 @item 37 @item
38 On GNU/Linux, it adds a linker option (@option{-rpath}) that causes 38 On most operating systems, it adds a linker option (@option{-rpath}) that
39 the dynamic linker to search for libraries in a directory relative to 39 causes the dynamic linker to search for libraries in a directory relative
40 the location of the invoked executable. 40 to the location of the invoked executable. This works on GNU/Linux and
41 41 modern versions of FreeBSD, NetBSD, OpenBSD, Solaris, Haiku.
42 @item 42
43 On other Unix systems, it installs a wrapper executable. The wrapper 43 @item
44 On macOS, it modifies the installed executables after installation in a way
45 that causes the dynamic linker to search for libraries in a directory relative
46 to the location of the invoked executable.
47
48 @item
49 On other Unix systems, it installs a trampoline executable. The trampoline
44 sets the environment variable that controls shared library searching 50 sets the environment variable that controls shared library searching
45 (usually @env{LD_LIBRARY_PATH}) and then invokes the real executable. 51 (usually @env{LD_LIBRARY_PATH}) and then invokes the real executable.
52 This applies to operating systems such as AIX, HP-UX, or Minix.
46 53
47 @item 54 @item
48 On Windows, the executable's own directory is searched for libraries, 55 On Windows, the executable's own directory is searched for libraries,
49 so installing shared libraries into the executable's directory is 56 so installing shared libraries into the executable's directory is
50 sufficient. 57 sufficient.