Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/conventions.xml

    r4a570af1 r3f2db3a6  
    99  <?dbhtml filename="conventions.html"?>
    1010
    11   <sect1info>
    12     <date>$Date$</date>
    13   </sect1info>
    1411
    1512  <title>Conventions Used in this Book</title>
     
    1714  <sect2>
    1815  <title>Typographical Conventions</title>
    19   <para>To make things easy to follow, there are a number of conventions used
    20   throughout the book.  Following are some examples:</para>
     16  <para>To make things easy to follow, a number of conventions are used
     17  throughout the book.  Here are some examples:</para>
    2118
    2219<screen><userinput>./configure --prefix=/usr</userinput></screen>
    2320
    2421  <blockquote>
    25     <para>This form of text is designed to be typed exactly as seen unless
     22    <para>This form of text should be typed exactly as shown unless
    2623    otherwise noted in the surrounding text. It is also used to identify
    2724    references to specific commands.</para>
     
    3229
    3330  <blockquote>
    34     <para>This form of text (fixed width text) is showing screen
    35     output, probably a result from issuing a command. It is also used to
     31    <para>This form of text (fixed width font) shows screen
     32    output, probably the result of issuing a command. It is also used to
    3633    show filenames such as <filename>/boot/grub/grub.conf</filename></para>
    3734  </blockquote>
     
    4037
    4138  <blockquote>
    42     <para>This form of text is used for several purposes in the
    43     book but mainly to emphasize important points or to give examples as to
     39    <para>This form of text is used for several purposes,
     40    but mainly to emphasize important points, or to give examples of
    4441    what to type.</para>
    4542  </blockquote>
     
    4946  <blockquote>
    5047    <para>This form of text is used for hypertext links external to
    51     the book such as HowTos, download locations, websites, etc.</para>
     48    the book, such as HowTos, download locations, websites, etc.</para>
    5249  </blockquote>
    5350
     
    5653  <blockquote>
    5754    <para>This form of text is used for links internal to
    58     the book such as another section describing a different package.</para>
     55    the book, such as another section describing a different package.</para>
    5956  </blockquote>
    6057
     
    6663
    6764  <blockquote>
    68     <para>This type of section is used mainly when creating configuration
     65    <para>This style is mainly used when creating configuration
    6966    files.  The first command (in bold) tells the system to create
    7067    the file <filename>$LFS/etc/group</filename> from whatever is typed on the
    71     following lines until the sequence EOF is encountered.
    72     Therefore, this whole section is generally typed as seen.</para>
     68    following lines, until the sequence EOF is encountered.
     69    Therefore, this whole section is usually typed exactly as shown.
     70    Remember, copy and paste is your friend!</para>
    7371  </blockquote>
    7472
     
    7775  <blockquote>
    7876    <para>This form of text is used to encapsulate text that should be
    79     modified and is not to be typed as seen, or copy and pasted. Note that
    80     the square brackets are not part of the text, but should be substituted
    81     for as well.</para>
     77    modified, and is not to be typed as shown, or copied and pasted.
     78    The angle brackets are not part of the literal text; they are part of the
     79    substitution.</para>
    8280  </blockquote>
    8381
     
    8987  </blockquote>
    9088
     89  <para>&nbsp;</para> <!-- add extra white space to improve readability -->
    9190  </sect2>
    9291
     
    9493  <title>Conventions Used for Package Dependencies</title>
    9594
    96     <para>When packages are created, the authors depend on prior work.  In
    97     order to build a package in BLFS, these dependencies must be built prior to
    98     the desired package.  For each package, any prerequisite packages are listed
     95    <para>When new packages are created, the software's authors depend on prior work.  In
     96    order to build a package in BLFS, these dependencies must be built before
     97    the desired package can be compiled.  For each package, prerequisites are listed
    9998    in one or more separate sections:  Required, Recommended, and Optional.</para>
    10099
    101100    <bridgehead renderas="sect3">Required Dependencies</bridgehead>
    102101
    103     <para>These dependencies are the minimum prerequisite packages required to
    104     build the package.  Omitted from the list are packages in LFS and required
    105     dependencies of other required packages.</para>
     102    <para>These dependencies are the bare minimum needed to
     103    build the package.  Packages in LFS, and the required
     104    dependencies of these required packages, are omitted from this list.
     105    Always remember to check for nested dependencies.</para>
    106106
    107107    <bridgehead renderas="sect3">Recommended Dependencies</bridgehead>
    108108
    109     <para>These dependencies are those that the BLFS editors have determined
     109    <para>These are dependencies the BLFS editors have determined
    110110    are important to give the package reasonable capabilities.  Package
    111111    installation instructions assume they are installed.  If a recommended
    112     package is not desired, the instructions may need to be modified to
     112    package is not installed, the instructions may require modification, to
    113113    accommodate the missing package.</para>
    114114
    115115    <bridgehead renderas="sect3">Optional Dependencies</bridgehead>
    116116
    117     <para>These dependencies are those that the package may use.  Integration
    118     of optional dependencies may be automatic by the package or may need
    119     additional instructions not presented by BLFS.  Optional packages may be
    120     listed without corresponding BLFS instructions.  In this case it is up to
    121     the user to determine appropriate installation instructions. </para>
    122 
     117    <para>These are dependencies the package <emphasis>may</emphasis> use.  Integration
     118    of optional dependencies may be automatic by the package, or
     119    additional steps not presented by BLFS may be necessary.  Optional dependencies are
     120    sometimes listed without explicit BLFS instructions.  In this case you must
     121    determine how to perform the installation yourself. </para>
     122
     123    <para>&nbsp;</para> <!-- add extra white space to improve readability -->
    123124  </sect2>
    124125
     
    126127  <title>Conventions Used for Kernel Configuration Options</title>
    127128
    128     <para>Some packages have specific needs regarding the kernel configuration.
    129     The general layout is the following:</para>
     129    <para>Some packages require specific kernel configuration options.
     130    The general layout for these looks like this:</para>
    130131
    131132<screen><literal>Master section ---&gt;
     
    139140
    140141    <para>[CONFIG_...] on the right gives the name of the option, so you can
    141     easily check whether it is set in your <filename>config</filename> file.
     142    easily check whether it is set in your <filename>.config</filename> file.
    142143    The meaning of the various entries is:
    143144
     
    157158          <emphasis role="bold">Required parameter</emphasis></entry>
    158159        <entry>
    159           the option could be either built-in or not selected: it must be
     160          the option can either be built-in, or not selected: it must be
    160161          selected
    161162        </entry>
     
    167168        </entry>
    168169        <entry>
    169           the option could be either built-in, module, or not selected:
     170          the option can be built-in, a module, or not selected (tri-state):
    170171          it must be selected as built-in
    171172        </entry>
     
    177178        </entry>
    178179        <entry>
    179           the option could be either built-in, module, or not selected:
    180           it must be selected, either as built-in or module
     180          the option can be built-in, a module, or not selected:
     181          it must be selected, either as built-in or as a module
    181182        </entry>
    182183      </row>
     
    186187        </entry>
    187188        <entry>
    188           rarely used: the option could be either built-in, module, or not
    189           selected: it may be selected at will
     189          rarely used: the option can be built-in, a module, or not
     190          selected: it may be set any way you wish
    190191        </entry>
    191192      </row>
     
    195196        </entry>
    196197        <entry>
    197           the option could be either built-in or not selected: it must
     198          the option can either be built-in or not selected: it must
    198199          <emphasis>not</emphasis> be selected
    199200        </entry>
     
    204205        </entry>
    205206        <entry>
    206           the option could be either built-in, module, or not selected:
     207          the option can be built-in, a module, or not selected:
    207208          it must <emphasis>not</emphasis> be selected
    208209        </entry>
     
    213214
    214215    <para>Note that, depending on other selections, the angle brackets
    215     (&lt;&gt;) may appear as braces ({}), if the option cannot be unselected,
    216     or even dashes (-*- or -M-), when the choice is imposed.
    217     The help text about the option specifies the other selections on which this
     216    (&lt;&gt;) in the configuration menu may appear as braces ({}) if the option cannot be unselected,
     217    or even as dashes (-*- or -M-), when the choice is imposed.
     218    The help text describing the option specifies the other selections on which this
    218219    option relies, and how those other selections are set.</para>
    219220
     221    <para>&nbsp;</para> <!-- add extra white space to improve readability -->
    220222  </sect2>
    221223
     
    225227    <para>As in LFS, each package in BLFS has a build time listed in Standard
    226228    Build Units (SBUs).   These times are relative to the time it took to build
    227     binutils in LFS and are intended to provide some insight into how long it
     229    binutils in LFS, and are intended to provide some insight into how long it
    228230    will take to build a package. Most times listed are for a single processor
    229231    or core to build the package. In some cases, large, long running builds
     
    232234    multiple cores.  Note that while this speeds up the build on systems with
    233235    the appropriate hardware, the speedup is not linear and to some extent
    234     depends on the individual package and specific hardware used.  </para>
    235 
    236     <para>For packages which use ninja (e.g. anything using meson) or rust, by
    237     default all cores are used so similar comments will be seen on such packages
     236    depends on the individual package and the specific hardware used.  </para>
     237
     238    <para>For packages which use ninja (i.e., anything using meson) or rust, by
     239    default all cores are used; similar comments will be seen on such packages
    238240    even when the build time is minimal.</para>
    239241
     
    241243    machines the time may be considerably greater even when the build does not
    242244    use swap. In particular, different micro-architectures will build some
    243     files at different relative speeds and this can introduce delays when
     245    files at different relative speeds, and this can introduce delays when
    244246    certain make targets wait for another file to be created. Where a large
    245247    build uses a lot of C++ files, processors with Simultaneous Multi Threading
     
    248250    other cores idle).</para>
    249251
    250     <para>Some packages do not support parallel builds and using -j1 for the
    251     make command is required.  Packages that are known to have such limits are
    252     marked as such in the text.</para>
     252    <para>Some packages do not support parallel builds; for these, the
     253    make command must specify -j1.  Packages that are known to impose such limits are
     254    so marked in the text.</para>
    253255
    254256  </sect2>
Note: See TracChangeset for help on using the changeset viewer.