bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: relocatable-prog: Use $ORIGIN trick on more platforms


From: Bruno Haible
Subject: Re: relocatable-prog: Use $ORIGIN trick on more platforms
Date: Sun, 24 Feb 2019 01:51:35 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; )

And here's an update of the documentation:


2019-02-23  Bruno Haible  <address@hidden>

        relocatable-prog: Update documentation.
        * doc/relocatable-maint.texi (Supporting Relocation): Update to match
        the recent changes.

diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi
index b95caaf..9f1b893 100644
--- a/doc/relocatable-maint.texi
+++ b/doc/relocatable-maint.texi
@@ -35,14 +35,21 @@ here in a platform-specific way:
 
 @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.
+
address@hidden
+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,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]