diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-03 09:25:21 +0000 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-03 09:25:21 +0000 |
commit | cd152f22770796527d3203b4b0b85abef43e018f (patch) | |
tree | 5b71c74520ae1f2bd8140c6694d88c115e63d054 /chapter08/binutils.xml | |
parent | 1f460e53b4186579f9ec20622356910580663ab3 (diff) |
remove unneeded static libraries
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12122 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/binutils.xml')
-rw-r--r-- | chapter08/binutils.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index 3930090d0..a8f0f9802 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -163,6 +163,10 @@ cd build</userinput></screen> <screen><userinput remap="install">make tooldir=/usr install</userinput></screen> + <para>Remove useless static libraries:</para> + +<screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a</userinput></screen> + </sect2> <sect2 id="contents-binutils" role="content"> @@ -176,7 +180,7 @@ cd build</userinput></screen> <seglistitem> <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, ld, ld.bfd, ld.gold, nm, objcopy, objdump, ranlib, readelf, size, strings, and strip</seg> - <seg>libbfd.{a,so}, libctf.{a,so}, libctf-nobfd.{a,so}, and libopcodes.{a,so}</seg> + <seg>libbfd.so, libctf.so, libctf-nobfd.so, and libopcodes.so</seg> <seg>/usr/lib/ldscripts</seg> </seglistitem> </segmentedlist> |