Changeset bb55064
- Timestamp:
- 06/13/2004 07:25:16 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, 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/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- eb443a3
- Parents:
- 5ce2fc9
- Location:
- chapter06
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/file.xml
r5ce2fc9 rbb55064 65 65 66 66 <varlistentry id="libmagic"> 67 <term>< command>libmagic</command></term>67 <term><filename class="libraryfile">libmagic</filename></term> 68 68 <listitem> 69 69 <indexterm zone="ch-system-file libmagic"><primary sortas="c-libmagic">libmagic</primary></indexterm> 70 <para>contains routines for magic number recognition, used by the fileprogram.</para>70 <para>contains routines for magic number recognition, used by the <command>file</command> program.</para> 71 71 </listitem> 72 72 </varlistentry> -
chapter06/findutils.xml
r5ce2fc9 rbb55064 38 38 39 39 <para>The localstatedir directive above changes the location of the locate 40 database to be in /var/lib/locate, which is FHS-compliant.</para> 40 database to be in <filename class="directory">/var/lib/locate</filename>, 41 which is FHS-compliant.</para> 41 42 42 43 <para>Compile the package:</para> … … 67 68 <listitem> 68 69 <indexterm zone="ch-system-findutils bigram"><primary sortas="b-bigram">bigram</primary></indexterm> 69 <para>was formerly used to produce locatedatabases.</para>70 <para>was formerly used to produce <command>locate</command> databases.</para> 70 71 </listitem> 71 72 </varlistentry> … … 75 76 <listitem> 76 77 <indexterm zone="ch-system-findutils code"><primary sortas="b-code">code</primary></indexterm> 77 <para>was formerly used to produce locate78 databases. It is the ancestor of frcode.</para>78 <para>was formerly used to produce <command>locate</command> 79 databases. It is the ancestor of <command>frcode</command>.</para> 79 80 </listitem> 80 81 </varlistentry> … … 92 93 <listitem> 93 94 <indexterm zone="ch-system-findutils frcode"><primary sortas="b-frcode">frcode</primary></indexterm> 94 <para>is called by updatedb to compress the list of file names. It uses95 <para>is called by <command>updatedb</command> to compress the list of file names. It uses 95 96 front-compression, reducing the database size by a factor of 4 to 5.</para> 96 97 </listitem> … … 110 111 <listitem> 111 112 <indexterm zone="ch-system-findutils updatedb"><primary sortas="b-updatedb">updatedb</primary></indexterm> 112 <para>updates the locatedatabase. It scans113 <para>updates the <command>locate</command> database. It scans 113 114 the entire file system (including other file systems that are currently mounted, 114 115 unless told not to) and puts every file name it finds in the database.</para> -
chapter06/flex.xml
r5ce2fc9 rbb55064 96 96 <para>is a tool for generating programs that 97 97 recognize patterns in text. Pattern recognition is useful in many applications. 98 From a set of rules on what to look for, flexmakes a program that looks for99 those patterns. The reason to use flexis that it is much easier to specify98 From a set of rules on what to look for, <command>flex</command> makes a program that looks for 99 those patterns. The reason to use <command>flex</command> is that it is much easier to specify 100 100 the rules for a pattern-finding program than to write the program.</para> 101 101 </listitem> … … 106 106 <listitem> 107 107 <indexterm zone="ch-system-flex flex-"><primary sortas="b-flex++">flex++</primary></indexterm> 108 <para>invokes a version of flexthat is used exclusively for C++ scanners.</para>108 <para>invokes a version of <command>flex</command> that is used exclusively for C++ scanners.</para> 109 109 </listitem> 110 110 </varlistentry> 111 111 112 112 <varlistentry id="libfl.a"> 113 <term>< command>libfl.a</command></term>113 <term><filename class="libraryfile">libfl.a</filename></term> 114 114 <listitem> 115 115 <indexterm zone="ch-system-flex libfl.a"><primary sortas="c-libfl.a">libfl.a</primary></indexterm> -
chapter06/gawk.xml
r5ce2fc9 rbb55064 62 62 <indexterm zone="ch-system-gawk gawk"><primary sortas="b-gawk">gawk</primary></indexterm> 63 63 <para>is a program for manipulating text files. 64 It is the GNU implementation of awk.</para>64 It is the GNU implementation of <command>awk</command>.</para> 65 65 </listitem> 66 66 </varlistentry> … … 78 78 <listitem> 79 79 <indexterm zone="ch-system-gawk igawk"><primary sortas="b-igawk">igawk</primary></indexterm> 80 <para>gives gawkthe ability to include files.</para>80 <para>gives <command>gawk</command> the ability to include files.</para> 81 81 </listitem> 82 82 </varlistentry> … … 86 86 <listitem> 87 87 <indexterm zone="ch-system-gawk pgawk"><primary sortas="b-pgawk">pgawk</primary></indexterm> 88 <para>is the profiling version of gawk.</para>88 <para>is the profiling version of <command>gawk</command>.</para> 89 89 </listitem> 90 90 </varlistentry> -
chapter06/gcc.xml
r5ce2fc9 rbb55064 31 31 32 32 <para>This package is known to behave badly when you have changed its 33 default optimization flags (including the -march and -mcpuoptions).33 default optimization flags (including the <parameter>-march</parameter> and <parameter>-mcpu</parameter> options). 34 34 Therefore, if you have defined any environment variables that override 35 35 default optimizations, such as CFLAGS and CXXFLAGS, we recommend un-setting … … 48 48 49 49 <para>Now apply a sed substitution that will suppress the installation of 50 <filename >libiberty.a</filename>. We want to use the version of51 <filename >libiberty.a</filename> provided by Binutils:</para>50 <filename class="libraryfile">libiberty.a</filename>. We want to use the version of 51 <filename class="libraryfile">libiberty.a</filename> provided by Binutils:</para> 52 52 53 53 <screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen> … … 87 87 88 88 <para>Some packages expect the C PreProcessor to be installed in the 89 <filename >/lib</filename> directory.89 <filename class="directory">/lib</filename> directory. 90 90 To support those packages, create this symlink:</para> 91 91 … … 162 162 163 163 <varlistentry id="libgcc"> 164 <term>< command>libgcc*</command></term>164 <term><filename class="libraryfile">libgcc*</filename></term> 165 165 <listitem> 166 166 <indexterm zone="ch-system-gcc libgcc"><primary sortas="c-libgcc*">libgcc*</primary></indexterm> 167 <para>contains run-time support for gcc.</para>167 <para>contains run-time support for <command>gcc</command>.</para> 168 168 </listitem> 169 169 </varlistentry> 170 170 171 171 <varlistentry id="libstdc"> 172 <term>< command>libstdc++</command></term>172 <term><filename class="libraryfile">libstdc++</filename></term> 173 173 <listitem> 174 174 <indexterm zone="ch-system-gcc libstdc"><primary sortas="c-libstdc++">libstdc++</primary></indexterm> … … 178 178 179 179 <varlistentry id="libsupc"> 180 <term>< command>libsupc++</command></term>180 <term><filename class="libraryfile">libsupc++</filename></term> 181 181 <listitem> 182 182 <indexterm zone="ch-system-gcc libsupc"><primary sortas="c-libsupc++">libsupc++</primary></indexterm> -
chapter06/gettext.xml
r5ce2fc9 rbb55064 68 68 <listitem> 69 69 <indexterm zone="ch-system-gettext autopoint"><primary sortas="b-autopoint">autopoint</primary></indexterm> 70 <para>copies standard gettext infrastructure files into a source package.</para>70 <para>copies standard Gettext infrastructure files into a source package.</para> 71 71 </listitem> 72 72 </varlistentry> … … 136 136 <listitem> 137 137 <indexterm zone="ch-system-gettext msgcat"><primary sortas="b-msgcat">msgcat</primary></indexterm> 138 <para>concatenates and merges the given <filename >.po</filename> files.</para>138 <para>concatenates and merges the given <filename class="extension">.po</filename> files.</para> 139 139 </listitem> 140 140 </varlistentry> … … 144 144 <listitem> 145 145 <indexterm zone="ch-system-gettext msgcmp"><primary sortas="b-msgcmp">msgcmp</primary></indexterm> 146 <para>compares two <filename >.po</filename>146 <para>compares two <filename class="extension">.po</filename> 147 147 files to check that both contain the same set of msgid strings.</para> 148 148 </listitem> … … 154 154 <indexterm zone="ch-system-gettext msgcomm"><primary sortas="b-msgcomm">msgcomm</primary></indexterm> 155 155 <para>finds the messages that are common to 156 to the given <filename >.po</filename> files.</para>156 to the given <filename class="extension">.po</filename> files.</para> 157 157 </listitem> 158 158 </varlistentry> … … 211 211 <listitem> 212 212 <indexterm zone="ch-system-gettext msginit"><primary sortas="b-msginit">msginit</primary></indexterm> 213 <para>creates a new <filename >.po</filename> file, initializing the meta213 <para>creates a new <filename class="extension">.po</filename> file, initializing the meta 214 214 information with values from the user's environment.</para> 215 215 </listitem> … … 259 259 260 260 <varlistentry id="libasprintf"> 261 <term>< command>libasprintf</command></term>261 <term><filename class="libraryfile">libasprintf</filename></term> 262 262 <listitem> 263 263 <indexterm zone="ch-system-gettext libasprintf"><primary sortas="c-libasprintf">libasprintf</primary></indexterm> … … 269 269 270 270 <varlistentry id="libgettextlib"> 271 <term>< command>libgettextlib</command></term>271 <term><filename class="libraryfile">libgettextlib</filename></term> 272 272 <listitem> 273 273 <indexterm zone="ch-system-gettext libgettextlib"><primary sortas="c-libgettextlib">libgettextlib</primary></indexterm> 274 <para>is a private library containing common routines used by the various gettext274 <para>is a private library containing common routines used by the various Gettext 275 275 programs. They're not meant for general use.</para> 276 276 </listitem> … … 278 278 279 279 <varlistentry id="libgettextpo"> 280 <term>< command>libgettextpo</command></term>280 <term><filename class="libraryfile">libgettextpo</filename></term> 281 281 <listitem> 282 282 <indexterm zone="ch-system-gettext libgettextpo"><primary sortas="c-libgettextpo">libgettextpo</primary></indexterm> 283 <para>is used to write specialized programs that process PO files. This library is 284 used when the standard applications shipped with gettext won't suffice (such as 285 msgcomm, msgcmp, msgattrib and msgen).</para> 283 <para>is used to write specialized programs that process <filename 284 class="extension">.po</filename> files. This library is 285 used when the standard applications shipped with Gettext won't suffice (such as 286 <command>msgcomm</command>, <command>msgcmp</command>, 287 <command>msgattrib</command> and <command>msgen</command>).</para> 286 288 </listitem> 287 289 </varlistentry> 288 290 289 291 <varlistentry id="libgettextsrc"> 290 <term>< command>libgettextsrc</command></term>292 <term><filename class="libraryfile">libgettextsrc</filename></term> 291 293 <listitem> 292 294 <indexterm zone="ch-system-gettext libgettextsrc"><primary sortas="c-libgettextsrc">libgettextsrc</primary></indexterm> 293 <para>is a private library containing common routines used by the various gettext295 <para>is a private library containing common routines used by the various Gettext 294 296 programs. They're not meant for general use.</para> 295 297 </listitem> -
chapter06/glibc.xml
r5ce2fc9 rbb55064 34 34 <para>The Glibc build system is very well self-contained and will install 35 35 perfectly, even though our compiler specs file and linker are still pointing 36 at <filename >/tools</filename>. We cannot adjust the specs and linker before36 at <filename class="directory">/tools</filename>. We cannot adjust the specs and linker before 37 37 the Glibc install, because the Glibc autoconf tests would then give bogus 38 38 results and thus defeat our goal of achieving a clean build.</para> … … 58 58 <variablelist> 59 59 <varlistentry> 60 <term>< userinput>--libexecdir=/tmp/pt_chown</userinput></term>60 <term><parameter>--libexecdir=/tmp/pt_chown</parameter></term> 61 61 <listitem><para>This changes 62 the location of the < filename>pt_chown</filename> program from its default of62 the location of the <command>pt_chown</command> program from its default of 63 63 <filename class="directory">/usr/libexec</filename> to 64 64 <filename class="directory">/tmp/pt_chown</filename>. This program isn't required … … 135 135 This applies to the ja_JP and fa_IR locales as well: 136 136 they have been installed only 137 for gcc and gettext tests to pass, and e.g.137 for GCC and Gettext tests to pass, and e.g. 138 138 the <command>watch</command> program (part of Procps) 139 139 compiled according to this book doesn't work properly in them. … … 165 165 following:</para> 166 166 167 <screen><userinput>cat > /etc/nsswitch.conf << "EOF" </userinput>167 <screen><userinput>cat > /etc/nsswitch.conf << "EOF" 168 168 # Begin /etc/nsswitch.conf 169 169 … … 181 181 182 182 # End /etc/nsswitch.conf 183 <userinput>EOF</userinput></screen>183 EOF</userinput></screen> 184 184 185 185 <para>To find out what time zone you're in, run the following script:</para> … … 198 198 <variablelist> 199 199 <varlistentry> 200 <term>< userinput>--remove-destination</userinput></term>200 <term><parameter>--remove-destination</parameter></term> 201 201 <listitem><para>This is needed to force removal of the already existing symbolic 202 202 link. The reason why we copy instead of symlink is to cover the situation where 203 <filename >/usr</filename> is on a separate partition. This could matter, for203 <filename class="directory">/usr</filename> is on a separate partition. This could matter, for 204 204 example, when booted into single user mode.</para></listitem> 205 205 </varlistentry> … … 218 218 219 219 <para>By default, the dynamic loader 220 (<filename >/lib/ld-linux.so.2</filename>) searches through <filename220 (<filename class="libraryfile">/lib/ld-linux.so.2</filename>) searches through <filename 221 221 class="directory">/lib</filename> and <filename class="directory">/usr/lib</filename> 222 222 for dynamic libraries that are needed … … 233 233 following:</para> 234 234 235 <screen><userinput>cat > /etc/ld.so.conf << "EOF" </userinput>235 <screen><userinput>cat > /etc/ld.so.conf << "EOF" 236 236 # Begin /etc/ld.so.conf 237 237 … … 240 240 241 241 # End /etc/ld.so.conf 242 <userinput>EOF</userinput></screen>242 EOF</userinput></screen> 243 243 244 244 </sect2> … … 318 318 <listitem> 319 319 <indexterm zone="ch-system-glibc iconvconfig"><primary sortas="b-iconvconfig">iconvconfig</primary></indexterm> 320 <para>creates fastloading iconvmodule configuration file.</para>320 <para>creates fastloading <command>iconv</command> module configuration file.</para> 321 321 </listitem> 322 322 </varlistentry> … … 343 343 <listitem> 344 344 <indexterm zone="ch-system-glibc lddlibc4"><primary sortas="b-lddlibc4">lddlibc4</primary></indexterm> 345 <para>assists lddwith object files.</para>345 <para>assists <command>ldd</command> with object files.</para> 346 346 </listitem> 347 347 </varlistentry> … … 475 475 476 476 <varlistentry id="ld.so"> 477 <term>< command>ld.so</command></term>477 <term><filename class="libraryfile">ld.so</filename></term> 478 478 <listitem> 479 479 <indexterm zone="ch-system-glibc ld.so"><primary sortas="c-ld.so">ld.so</primary></indexterm> … … 483 483 484 484 <varlistentry id="libBrokenLocale"> 485 <term>< command>libBrokenLocale</command></term>485 <term><filename class="libraryfile">libBrokenLocale</filename></term> 486 486 <listitem> 487 487 <indexterm zone="ch-system-glibc libBrokenLocale"><primary sortas="c-libBrokenLocale">libBrokenLocale</primary></indexterm> … … 491 491 492 492 <varlistentry id="libSegFault"> 493 <term>< command>libSegFault</command></term>493 <term><filename class="libraryfile">libSegFault</filename></term> 494 494 <listitem> 495 495 <indexterm zone="ch-system-glibc libSegFault"><primary sortas="c-libSegFault">libSegFault</primary></indexterm> … … 499 499 500 500 <varlistentry id="libanl"> 501 <term>< command>libanl</command></term>501 <term><filename class="libraryfile">libanl</filename></term> 502 502 <listitem> 503 503 <indexterm zone="ch-system-glibc libanl"><primary sortas="c-libanl">libanl</primary></indexterm> … … 507 507 508 508 <varlistentry id="libbsd-compat"> 509 <term>< command>libbsd-compat</command></term>509 <term><filename class="libraryfile">libbsd-compat</filename></term> 510 510 <listitem> 511 511 <indexterm zone="ch-system-glibc libbsd-compat"><primary sortas="c-libbsd-compat">libbsd-compat</primary></indexterm> … … 516 516 517 517 <varlistentry id="libc"> 518 <term>< command>libc</command></term>518 <term><filename class="libraryfile">libc</filename></term> 519 519 <listitem> 520 520 <indexterm zone="ch-system-glibc libc"><primary sortas="c-libc">libc</primary></indexterm> … … 524 524 525 525 <varlistentry id="libcrypt"> 526 <term>< command>libcrypt</command></term>526 <term><filename class="libraryfile">libcrypt</filename></term> 527 527 <listitem> 528 528 <indexterm zone="ch-system-glibc libcrypt"><primary sortas="c-libcrypt">libcrypt</primary></indexterm> … … 532 532 533 533 <varlistentry id="libdl"> 534 <term>< command>libdl</command></term>534 <term><filename class="libraryfile">libdl</filename></term> 535 535 <listitem> 536 536 <indexterm zone="ch-system-glibc libdl"><primary sortas="c-libdl">libdl</primary></indexterm> … … 540 540 541 541 <varlistentry id="libg"> 542 <term>< command>libg</command></term>542 <term><filename class="libraryfile">libg</filename></term> 543 543 <listitem> 544 544 <indexterm zone="ch-system-glibc libg"><primary sortas="c-libg">libg</primary></indexterm> 545 <para>is a runtime library for g++.</para>545 <para>is a runtime library for <command>g++</command>.</para> 546 546 </listitem> 547 547 </varlistentry> 548 548 549 549 <varlistentry id="libieee"> 550 <term>< command>libieee</command></term>550 <term><filename class="libraryfile">libieee</filename></term> 551 551 <listitem> 552 552 <indexterm zone="ch-system-glibc libieee"><primary sortas="c-libieee">libieee</primary></indexterm> … … 556 556 557 557 <varlistentry id="libm"> 558 <term>< command>libm</command></term>558 <term><filename class="libraryfile">libm</filename></term> 559 559 <listitem> 560 560 <indexterm zone="ch-system-glibc libm"><primary sortas="c-libm">libm</primary></indexterm> … … 564 564 565 565 <varlistentry id="libmcheck"> 566 <term>< command>libmcheck</command></term>566 <term><filename class="libraryfile">libmcheck</filename></term> 567 567 <listitem> 568 568 <indexterm zone="ch-system-glibc libmcheck"><primary sortas="c-libmcheck">libmcheck</primary></indexterm> … … 572 572 573 573 <varlistentry id="libmemusage"> 574 <term>< command>libmemusage</command></term>574 <term><filename class="libraryfile">libmemusage</filename></term> 575 575 <listitem> 576 576 <indexterm zone="ch-system-glibc libmemusage"><primary sortas="c-libmemusage">libmemusage</primary></indexterm> 577 <para>is used by memusageto help collect577 <para>is used by <command>memusage</command> to help collect 578 578 information about the memory usage of a program.</para> 579 579 </listitem> … … 581 581 582 582 <varlistentry id="libnsl"> 583 <term>< command>libnsl</command></term>583 <term><filename class="libraryfile">libnsl</filename></term> 584 584 <listitem> 585 585 <indexterm zone="ch-system-glibc libnsl"><primary sortas="c-libnsl">libnsl</primary></indexterm> … … 589 589 590 590 <varlistentry id="libnss"> 591 <term>< command>libnss*</command></term>591 <term><filename class="libraryfile">libnss*</filename></term> 592 592 <listitem> 593 593 <indexterm zone="ch-system-glibc libnss"><primary sortas="c-libnss*">libnss*</primary></indexterm> 594 594 <para>are the Name Service Switch libraries, 595 595 containing functions for resolving host names, user names, group names, 596 aliases, services, protocols, and the like.</para>596 aliases, services, protocols, and the like.</para> 597 597 </listitem> 598 598 </varlistentry> 599 599 600 600 <varlistentry id="libpcprofile"> 601 <term>< command>libpcprofile</command></term>601 <term><filename class="libraryfile">libpcprofile</filename></term> 602 602 <listitem> 603 603 <indexterm zone="ch-system-glibc libpcprofile"><primary sortas="c-libpcprofile">libpcprofile</primary></indexterm> … … 608 608 609 609 <varlistentry id="libpthread"> 610 <term>< command>libpthread</command></term>610 <term><filename class="libraryfile">libpthread</filename></term> 611 611 <listitem> 612 612 <indexterm zone="ch-system-glibc libpthread"><primary sortas="c-libpthread">libpthread</primary></indexterm> … … 616 616 617 617 <varlistentry id="libresolv"> 618 <term>< command>libresolv</command></term>618 <term><filename class="libraryfile">libresolv</filename></term> 619 619 <listitem> 620 620 <indexterm zone="ch-system-glibc libresolv"><primary sortas="c-libresolv">libresolv</primary></indexterm> … … 625 625 626 626 <varlistentry id="librpcsvc"> 627 <term>< command>librpcsvc</command></term>627 <term><filename class="libraryfile">librpcsvc</filename></term> 628 628 <listitem> 629 629 <indexterm zone="ch-system-glibc librpcsvc"><primary sortas="c-librpcsvc">librpcsvc</primary></indexterm> … … 633 633 634 634 <varlistentry id="librt"> 635 <term>< command>librt</command></term>635 <term><filename class="libraryfile">librt</filename></term> 636 636 <listitem> 637 637 <indexterm zone="ch-system-glibc librt"><primary sortas="c-librt">librt</primary></indexterm> … … 642 642 643 643 <varlistentry id="libthread_db"> 644 <term>< command>libthread_db</command></term>644 <term><filename class="libraryfile">libthread_db</filename></term> 645 645 <listitem> 646 646 <indexterm zone="ch-system-glibc libthread_db"><primary sortas="c-libthread_db">libthread_db</primary></indexterm> … … 651 651 652 652 <varlistentry id="libutil"> 653 <term>< command>libutil</command></term>653 <term><filename class="libraryfile">libutil</filename></term> 654 654 <listitem> 655 655 <indexterm zone="ch-system-glibc libutil"><primary sortas="c-libutil">libutil</primary></indexterm> 656 <para>contains code for "standard"functions used in many different Unix utilities.</para>656 <para>contains code for <quote>standard</quote> functions used in many different Unix utilities.</para> 657 657 </listitem> 658 658 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.