diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-08-03 21:58:23 -0500 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-08-03 21:58:23 -0500 |
commit | 4350669654193cfd741a9ff9def436efb9b13bef (patch) | |
tree | ef6c18047aab233cc0e3445df619f86fe8fc6341 | |
parent | 6a123d054ec26bcb1a53177e2f5c5622a06dac7e (diff) |
Make stripping work fo rboth x86 and x86_64
-rw-r--r-- | chapter08/strippingagain.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chapter08/strippingagain.xml b/chapter08/strippingagain.xml index 7692f6ce9..bf2493b02 100644 --- a/chapter08/strippingagain.xml +++ b/chapter08/strippingagain.xml @@ -40,10 +40,15 @@ Read the related entry in <xref linkend="pkgmgmt-upgrade-issues"/> for the rationale to use the <command>install</command> command here.</para> + <note><para>The linux loader's name is ld-linux-x86-64.so.2 on 64-bit systems + and ld-linux.so.2 on 32-bit systems. The contruct below selects the + correct name for the current architecture.</para></note> + + <!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC --> <!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"--> -<screen><userinput>save_usrlib="ld-linux-x86-64.so.2 + <screen><userinput>save_usrlib="$(cd /usr/lib; ls ld_linux*) libc.so.6 libthread_db.so.1 libquadmath.so.&libquadmath-version; |