Changeset 2256873 for chapter05


Ignore:
Timestamp:
10/06/2004 10:58:24 PM (20 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
6.0
Children:
c059c37
Parents:
f67ec77a
Message:

Last edit round.

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

Location:
chapter05
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • chapter05/adjusting.xml

    rf67ec77a r2256873  
    4545<para><phrase condition="html">It is recommended that the above
    4646command be copy-and-pasted in order to ensure accuracy.</phrase>
     47<beginpage/>
    4748Alternatively, the specs file can be edited by hand. This is done by
    4849replacing every occurrence of <quote>/lib/ld-linux.so.2</quote> with
     
    5152<para>Be sure to visually inspect the specs file in order to verify the
    5253intended changes have been made.</para>
    53 
    54 <beginpage/>
    5554
    5655<important><para>If working on a platform where the name of the
     
    7069
    7170<screen><userinput>rm -f /tools/lib/gcc/*/*/include/{pthread.h,bits/sigthread.h}</userinput></screen>
     71
     72<beginpage/>
    7273
    7374<caution><para>At this point, it is imperative to stop and ensure that
  • chapter05/bash.xml

    rf67ec77a r2256873  
    4444</variablelist>
    4545
    46 <para>Compile the program:</para>
     46<para>Compile the package:</para>
    4747
    4848<screen><userinput>make</userinput></screen>
  • chapter05/coreutils.xml

    rf67ec77a r2256873  
    4949instructions be followed exactly as given above.</para>
    5050
     51<beginpage/>
     52
    5153<para>Compile the package:</para>
    5254
     
    6062platforms, but generally are not a problem on Linux.</para>
    6163
    62 <beginpage/>
    6364<para>Install the package:</para>
    6465
  • chapter05/dejagnu.xml

    rf67ec77a r2256873  
    2222<segtitle>DejaGNU installation depends on</segtitle>
    2323<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
    24 GCC, Glibc, Grep, Make and Sed</seg></seglistitem>
     24GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
    2525</segmentedlist>
    2626</sect2>
     
    4747</segmentedlist>
    4848
    49 <variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>
     49<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
    5050<?dbfo list-presentation="list"?>
    5151
     
    5353<term><command>runtest</command></term>
    5454<listitem>
    55 <para>a wrapper script that locates the proper
    56 <command>expect</command> shell and then runs DejaGNU.</para>
     55<para>A wrapper script that locates the proper
     56<command>expect</command> shell and then runs DejaGNU</para>
    5757<indexterm zone="ch-tools-dejagnu runtest"><primary sortas="b-runtest">runtest</primary></indexterm>
    5858</listitem>
  • chapter05/expect.xml

    rf67ec77a r2256873  
    2323<segtitle>Expect installation depends on</segtitle>
    2424<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
    25 GCC, Glibc, Grep, Make, Sed and Tcl</seg></seglistitem>
     25GCC, Glibc, Grep, Make, Sed, and Tcl</seg></seglistitem>
    2626</segmentedlist>
    2727</sect2>
     
    9494</segmentedlist>
    9595
    96 <variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>
     96<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
    9797<?dbfo list-presentation="list"?>
    9898
     
    100100<term><command>expect</command></term>
    101101<listitem>
    102 <para>communicates with other interactive
    103 programs according to a script.</para>
     102<para>Communicates with other interactive
     103programs according to a script</para>
    104104<indexterm zone="ch-tools-expect expect"><primary sortas="b-expect">expect</primary></indexterm>
    105105</listitem>
     
    109109<term><filename class="libraryfile">libexpect-5.42.a</filename></term>
    110110<listitem>
    111 <para>contains functions that allow Expect to be used as a Tcl extension or to
    112 be used directly from C or C++ (without Tcl)."</para>
     111<para>Contains functions that allow Expect to be used as a Tcl extension or to
     112be used directly from C or C++ (without Tcl)</para>
    113113<indexterm zone="ch-tools-expect libexpect"><primary
    114114sortas="c-libexpect-5.42">libexpect-5.42</primary></indexterm>
  • chapter05/gettext.xml

    rf67ec77a r2256873  
    5353</variablelist>
    5454
    55 <para>Compile the programs:</para>
     55<beginpage/>
     56<para>Compile the package:</para>
    5657
    5758<screen><userinput>make</userinput></screen>
    5859
    59 <beginpage/>
    6060<para>To test the results, issue: <userinput>make check</userinput>.
    6161This takes quite some time, around 7 SBUs. The Gettext test suite is
     
    6363example when it finds a Java compiler on the host.  An experimental
    6464patch to disable Java is available from the LFS Patches project at
    65 <ulink url="&lfs-root;patches/"/></para>
     65<ulink url="&lfs-root;patches/"/>.</para>
    6666
    6767<para>Install the package:</para>
  • chapter05/grep.xml

    rf67ec77a r2256873  
    5353</variablelist>
    5454
    55 <para>Compile the programs:</para>
     55<para>Compile the package:</para>
    5656
    5757<screen><userinput>make</userinput></screen>
  • chapter05/introduction.xml

    rf67ec77a r2256873  
    4242<para>During the compilation of most packages, there will be several
    4343warnings that scroll by on the screen. These are normal and can safely
    44 be ignored. These warnings are as they appear -- warnings about
     44be ignored. These warnings are as they appear&mdash;warnings about
    4545deprecated, but not invalid, use of the C or C++ syntax. C standards
    4646change fairly often, and some packages still use the older standard.
    4747This is not a problem, but does prompt the warning.</para>
     48
     49<beginpage/>
    4850
    4951<para>After installing each package, delete its source and build
     
    5456be used by later commands. Pay special attention to these
    5557reminders.</para>
    56 
    57 <beginpage/>
    5858
    5959<para>Check one last time that the <envar>LFS</envar> environment
  • chapter05/kernel-headers.xml

    rf67ec77a r2256873  
    5151<screen><userinput>make include/linux/version.h</userinput></screen>
    5252
     53<beginpage/>
     54
    5355<para>Create the platform-specific <filename class="symlink">include/asm</filename>
    5456symlink:</para>
     
    6264cp -R include/asm-generic /tools/glibc-kernheaders</userinput></screen>
    6365
    64 <beginpage/>
    6566<para>Finally, install the cross-platform kernel header files:</para>
    6667
  • chapter05/make.xml

    rf67ec77a r2256873  
    3232<screen><userinput>./configure --prefix=/tools</userinput></screen>
    3333
    34 <para>Compile the program:</para>
     34<para>Compile the package:</para>
    3535
    3636<screen><userinput>make</userinput></screen>
  • chapter05/ncurses.xml

    rf67ec77a r2256873  
    5555
    5656<beginpage/>
    57 <para>Compile the programs and libraries:</para>
     57<para>Compile the package:</para>
    5858
    5959<screen><userinput>make</userinput></screen>
  • chapter05/patch.xml

    rf67ec77a r2256873  
    3636architectures.</para>
    3737
    38 <para>Compile the program:</para>
     38<para>Compile the package:</para>
    3939
    4040<screen><userinput>make</userinput></screen>
  • chapter05/perl.xml

    rf67ec77a r2256873  
    3333<screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc-1.patch</userinput></screen>
    3434
    35 <para>Now prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX'
     35<para>Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX'
    3636part of the command correct&mdash;they are all letters):</para>
    3737
     
    4949</variablelist>
    5050
     51<beginpage/>
    5152<para>Compile only the required tools:</para>
    5253
     
    5960be run in the next chapter if desired.</para>
    6061
    61 <beginpage/>
    6262<para>Copy these tools and their libraries:</para>
    6363
  • chapter05/sed.xml

    rf67ec77a r2256873  
    3232<screen><userinput>./configure --prefix=/tools</userinput></screen>
    3333
    34 <para>Compile the program:</para>
     34<para>Compile the package:</para>
    3535
    3636<screen><userinput>make</userinput></screen>
  • chapter05/tar.xml

    rf67ec77a r2256873  
    3232<screen><userinput>./configure --prefix=/tools</userinput></screen>
    3333
    34 <para>Compile the programs:</para>
     34<para>Compile the package:</para>
    3535
    3636<screen><userinput>make</userinput></screen>
  • chapter05/tcl.xml

    rf67ec77a r2256873  
    2222<segtitle>Tcl installation depends on</segtitle>
    2323<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
    24 GCC, Glibc, Grep, Make and Sed</seg></seglistitem>
     24GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
    2525</segmentedlist>
    2626
     
    5555the time zone to Coordinated Universal Time (UTC), also known as
    5656Greenwich Mean Time (GMT), but only for the duration of the test suite
    57 run. This ensures that the clock tests are exercised correctly. More
    58 information on the <envar>TZ</envar> environment variable is provided in <xref
    59 linkend="chapter-bootscripts"/>.</para>
     57run. This ensures that the clock tests are exercised correctly.
     58Details on the <envar>TZ</envar> environment variable is provided in
     59<xref linkend="chapter-bootscripts"/>.</para>
    6060
    6161<para>Install the package:</para>
     
    6363<screen><userinput>make install</userinput></screen>
    6464
     65<beginpage/>
    6566<warning><para><emphasis>Do not</emphasis> remove the
    6667<filename class="directory">tcl&tcl-version;</filename> source directory yet, as the next package
     
    8182</segmentedlist>
    8283
    83 <variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>
     84<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
    8485<?dbfo list-presentation="list"?>
    8586
     
    8788<term><command>tclsh8.4</command></term>
    8889<listitem>
    89 <para>the Tcl command shell.</para>
     90<para>The Tcl command shell</para>
    9091<indexterm zone="ch-tools-tcl tclsh8.4"><primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm>
    9192</listitem>
     
    9596<term><command>tclsh</command></term>
    9697<listitem>
    97 <para>link to tclsh8.4</para>
     98<para>A link to tclsh8.4</para>
    9899<indexterm zone="ch-tools-tcl tclsh"><primary sortas="b-tclsh">tclsh</primary></indexterm>
    99100</listitem>
     
    103104<term><filename class="libraryfile">libtcl8.4.so</filename></term>
    104105<listitem>
    105 <para>the Tcl library.</para>
     106<para>The Tcl library</para>
    106107<indexterm zone="ch-tools-tcl libtcl8.4.so"><primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary></indexterm>
    107108</listitem>
  • chapter05/texinfo.xml

    rf67ec77a r2256873  
    3232<screen><userinput>./configure --prefix=/tools</userinput></screen>
    3333
    34 <para>Compile the programs:</para>
     34<para>Compile the package:</para>
    3535
    3636<screen><userinput>make</userinput></screen>
  • chapter05/toolchaintechnotes.xml

    rf67ec77a r2256873  
    6161cross-compiling, whereby tools installed in the same prefix work in
    6262cooperation, and thus utilize a little GNU
    63 <quote>magic.</quote></para></listitem>
     63<quote>magic</quote></para></listitem>
    6464
    6565<listitem><para>Careful manipulation of the standard linker's library
     
    110110search paths are not necessarily used. To find out which standard
    111111linker <command>gcc</command> will use, run: <userinput>gcc
    112 -print-prog-name=ld</userinput>. Detailed
    113 information can be obtained from <command>gcc</command> by passing it
    114 the <parameter>-v</parameter> command line option while compiling a
    115 dummy program. For example, <userinput>gcc -v dummy.c</userinput> will show detailed
    116 information about the preprocessor, compilation, and assembly stages,
    117 including <command>gcc</command>'s included search paths and their
    118 order.</para>
     112-print-prog-name=ld</userinput>.</para>
     113
     114<para>Detailed information can be obtained from <command>gcc</command>
     115by passing it the <parameter>-v</parameter> command line option while
     116compiling a dummy program. For example, <userinput>gcc -v
     117dummy.c</userinput> will show detailed information about the
     118preprocessor, compilation, and assembly stages, including
     119<command>gcc</command>'s included search paths and their order.</para>
    119120
    120121<para>The next package installed is Glibc. The most important
  • chapter05/util-linux.xml

    rf67ec77a r2256873  
    5050<para>This package does not come with a test suite.</para>
    5151
    52 <para>Now copy these programs to the temporary tools directory:</para>
     52<para>Copy these programs to the temporary tools directory:</para>
    5353
    5454<screen><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.