diff options
-rw-r--r-- | doc/sh-utils.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/sh-utils.texi b/doc/sh-utils.texi index 41ccf52cc..247212d13 100644 --- a/doc/sh-utils.texi +++ b/doc/sh-utils.texi @@ -2804,7 +2804,12 @@ total 1023 -rwxr-xr-x 1 0 0 1041745 Aug 16 11:17 ls @end example -@c FIXME: add a more complex example +If you want to use a dynamically linked executable, say @code{bash}, +then first run @samp{ldd bash} to see what shared objects it needs. +In addition to copying the actual binary, also copy the listed +files to the required positions under your intended new root directory. +Finally, if the executable requires any other files (e.g., data, state, +device files), copy them into place, too. @node env invocation |