Changeset 675606b for chapter06/file.xml


Ignore:
Timestamp:
06/16/2020 11:56:28 AM (4 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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, 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:
9a05e45
Parents:
560065f (diff), 1cd5961 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Split Chapter 5 into three separate chapters.
Implement a new method of cross-building the LFS tool chain
and other tools to simplify the method of isolating the
new system from the original host. This will be the start of
LFS-10.0.

Move old trunk/BOOK to branches/old-trunk.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11946 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/file.xml

    r560065f r675606b  
    66]>
    77
    8 <sect1 id="ch-system-file" role="wrap">
     8<sect1 id="ch-tools-file" role="wrap">
    99  <?dbhtml filename="file.html"?>
    1010
     
    1717  <title>File-&file-version;</title>
    1818
    19   <indexterm zone="ch-system-file">
     19  <indexterm zone="ch-tools-file">
    2020    <primary sortas="a-File">File</primary>
     21    <secondary>tools</secondary>
    2122  </indexterm>
    2223
     
    2425    <title/>
    2526
    26     <para>The File package contains a utility for determining the type of a given
    27     file or files.</para>
     27    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     28    href="../chapter08/file.xml"
     29    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
    2830
    2931    <segmentedlist>
     
    3234
    3335      <seglistitem>
    34         <seg>&file-ch6-sbu;</seg>
    35         <seg>&file-ch6-du;</seg>
     36        <seg>&file-tmp-sbu;</seg>
     37        <seg>&file-tmp-du;</seg>
    3638      </seglistitem>
    3739    </segmentedlist>
     
    4446    <para>Prepare File for compilation:</para>
    4547
    46 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen>
    4749
     50<!-- devs: if using - -build here, the build system wants to compile
     51     the signature file with "file" on the build system, but stops if it is not
     52     the same version. One possibility would be to build "file" on the build
     53     system first, but it is simpler to have the system think it is not
     54     cross-compiling, and use the just built "file". -->
    4855    <para>Compile the package:</para>
    4956
    5057<screen><userinput remap="make">make</userinput></screen>
    5158
    52     <para>To test the results, issue:</para>
    53 
    54 <screen><userinput remap="test">make check</userinput></screen>
    55 
    5659    <para>Install the package:</para>
    5760
    58 <screen><userinput remap="install">make install</userinput></screen>
     61<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    5962
    6063  </sect2>
    6164
    62 
    63   <sect2 id="contents-file" role="content">
    64     <title>Contents of File</title>
    65 
    66     <segmentedlist>
    67       <segtitle>Installed programs</segtitle>
    68       <segtitle>Installed library</segtitle>
    69 
    70       <seglistitem>
    71         <seg>file</seg>
    72         <seg>libmagic.so</seg>
    73       </seglistitem>
    74     </segmentedlist>
    75 
    76     <variablelist>
    77       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    78       <?dbfo list-presentation="list"?>
    79       <?dbhtml list-presentation="table"?>
    80 
    81       <varlistentry id="file">
    82         <term><command>file</command></term>
    83         <listitem>
    84           <para>Tries to classify each given file; it does this by performing
    85           several tests&mdash;file system tests, magic number tests, and language
    86           tests</para>
    87           <indexterm zone="ch-system-file file">
    88             <primary sortas="b-file">file</primary>
    89           </indexterm>
    90         </listitem>
    91       </varlistentry>
    92 
    93       <varlistentry id="libmagic">
    94         <term><filename class="libraryfile">libmagic</filename></term>
    95         <listitem>
    96           <para>Contains routines for magic number recognition, used by the
    97           <command>file</command> program</para>
    98           <indexterm zone="ch-system-file libmagic">
    99             <primary sortas="c-libmagic">libmagic</primary>
    100           </indexterm>
    101         </listitem>
    102       </varlistentry>
    103 
    104     </variablelist>
     65  <sect2 role="content">
     66    <title/>
     67    <para>Details on this package are located in<!-- TODO
     68    <xref linkend="contents-file" role="."/>      --></para>
    10569
    10670  </sect2>
Note: See TracChangeset for help on using the changeset viewer.