Changeset cd152f22
- Timestamp:
- 02/03/2021 09:25:21 AM (4 years ago)
- Branches:
- 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 30a8646
- Parents:
- 1f460e5
- Location:
- chapter08
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/binutils.xml
r1f460e5 rcd152f22 164 164 <screen><userinput remap="install">make tooldir=/usr install</userinput></screen> 165 165 166 <para>Remove useless static libraries:</para> 167 168 <screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a</userinput></screen> 169 166 170 </sect2> 167 171 … … 177 181 <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, ld, ld.bfd, ld.gold, nm, 178 182 objcopy, objdump, ranlib, readelf, size, strings, and strip</seg> 179 <seg>libbfd. {a,so}, libctf.{a,so}, libctf-nobfd.{a,so}, and libopcodes.{a,so}</seg>183 <seg>libbfd.so, libctf.so, libctf-nobfd.so, and libopcodes.so</seg> 180 184 <seg>/usr/lib/ldscripts</seg> 181 185 </seglistitem> -
chapter08/bzip2.xml
r1f460e5 rcd152f22 96 96 ln -sv bzip2 /bin/bzcat</userinput></screen> 97 97 98 <para>Remove an useless static library:</para> 99 100 <screen><userinput remap="install">rm -fv /usr/lib/libz.a</userinput></screen> 101 98 102 </sect2> 99 103 … … 110 114 bzdiff), bzdiff, bzegrep (link to bzgrep), bzfgrep (link to bzgrep), 111 115 bzgrep, bzip2, bzip2recover, bzless (link to bzmore), and bzmore</seg> 112 <seg>libbz2. {a,so}</seg>116 <seg>libbz2.so</seg> 113 117 <seg>/usr/share/doc/bzip2-&bzip2-version;</seg> 114 118 </seglistitem> -
chapter08/e2fsprogs.xml
r1f460e5 rcd152f22 123 123 <screen><userinput remap="install">make install</userinput></screen> 124 124 125 <para>Make the installed static libraries writable so debugging symbols can 126 be removed later:</para> 127 128 <screen><userinput remap="install">chmod -v u+w /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen> 125 <para>Remove useless static libraries:</para> 126 127 <screen><userinput remap="install">rm -fv /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen> 129 128 130 129 <para>This package installs a gzipped -
chapter08/flex.xml
r1f460e5 rcd152f22 54 54 <para>Prepare Flex for compilation:</para> 55 55 56 <!-- <screen><userinput remap="configure">HELP2MAN=/tools/bin/true \ --> 57 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen> 56 <screen><userinput remap="configure">./configure --prefix=/usr \ 57 --docdir=/usr/share/doc/flex-&flex-version; \ 58 --disable-static</userinput></screen> 58 59 59 60 <para>Compile the package:</para> -
chapter08/libtool.xml
r1f460e5 rcd152f22 69 69 <screen><userinput remap="install">make install</userinput></screen> 70 70 71 <!-- dev: - -disable-static works but causes additional test failures 72 so we manually remove the static library --> 73 74 <para>Remove an useless static library:</para> 75 76 <screen><userinput remap="install">rm -fv /usr/lib/libltdl.a</userinput></screen> 77 71 78 </sect2> 72 79 -
chapter08/ncurses.xml
r1f460e5 rcd152f22 41 41 <sect2 role="installation"> 42 42 <title>Installation of Ncurses</title> 43 44 <para>Don't install a static library that is not handled by configure:</para>45 46 <screen><userinput remap="pre">sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in</userinput></screen>47 43 48 44 <para>Prepare Ncurses for compilation:</para> … … 133 129 echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so 134 130 ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen> 131 132 <para>Remove a static library that is not handled by configure:</para> 133 134 <screen><userinput remap="install">rm -fv /usr/lib/libncurses++w.a</userinput></screen> 135 135 136 136 <para>If desired, install the Ncurses documentation:</para> … … 189 189 libmenuw.so, 190 190 libncursesw.so, 191 libncurses++w.a,192 191 libpanelw.so, and their non-wide-character counterparts without "w" 193 192 in the library names.</seg> -
chapter08/revisedchroot.xml
r1f460e5 rcd152f22 37 37 linkend="ch-tools-kernfsmount"/>.</para> 38 38 39 <para>There were several static libraries that were not suppressed earlier40 in the chapter in order to satisfy the regression tests in several packages. These41 libraries are from binutils, bzip2, e2fsprogs, flex, libtool, and zlib. If desired,42 remove them now:</para>43 44 <screen><userinput>rm -f /usr/lib/lib{bfd,opcodes}.a45 rm -f /usr/lib/libctf{,-nobfd}.a46 rm -f /usr/lib/libbz2.a47 rm -f /usr/lib/lib{com_err,e2p,ext2fs,ss}.a48 rm -f /usr/lib/libltdl.a49 rm -f /usr/lib/libfl.a50 rm -f /usr/lib/libz.a</userinput></screen>51 52 39 <para>There are also several files installed in the /usr/lib and /usr/libexec 53 40 directories with a file name extension of .la. These are "libtool archive" -
chapter08/zlib.xml
r1f460e5 rcd152f22 66 66 ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so</userinput></screen> 67 67 68 <para>Remove an useless static library:</para> 69 70 <screen><userinput remap="install">rm -fv /usr/lib/libz.a</userinput></screen> 71 68 72 </sect2> 69 73 … … 75 79 76 80 <seglistitem> 77 <seg>libz. {a,so}</seg>81 <seg>libz.so</seg> 78 82 </seglistitem> 79 83 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.