Ticket #2259: chapter5-updates.patch

File chapter5-updates.patch, 5.3 KB (added by Chris Staub, 16 years ago)

Chapter 5 updates

  • chapter05/stripping.xml

     
    1818<screen><userinput>strip --strip-debug /tools/lib/*
    1919strip --strip-unneeded /tools/{,s}bin/*</userinput></screen>
    2020
    21   <para>The last of the above commands will skip some twenty files,
    22   reporting that it does not recognize their file format. Most of these
    23   are scripts instead of binaries.</para>
     21  <para>These commands will skip a number of files, reporting that it does not
     22  recognize their file format. Most of these are scripts instead of binaries.</para>
    2423
    2524  <para>Take care <emphasis>not</emphasis> to use
    2625  <parameter>--strip-unneeded</parameter> on the libraries. The static
  • chapter05/ncurses.xml

     
    7777
    7878<screen><userinput remap="make">make</userinput></screen>
    7979
    80     <para>This package does not come with a test suite.</para>
     80    <para>This package has a test suite, but it can only be run after the
     81    package has been installed.  The tests reside in the
     82    <filename class="directory">test/</filename> directory.  See the
     83    <filename>README</filename> file in that directory for further details.
     84    </para>
    8185
    8286    <para>Install the package:</para>
    8387
  • chapter05/gcc-pass2.xml

     
    216216
    217217<screen><userinput remap="make">make</userinput></screen>
    218218
    219     <para>There is no need to use the <parameter>bootstrap</parameter> target
    220     now because the compiler being used to compile this GCC was built from
    221     the exact same version of the GCC sources used earlier.</para>
    222 
    223219    <para>Compilation is now complete. As previously mentioned, running the test
    224220    suites for the temporary tools compiled in this chapter is not mandatory.
    225221    To run the GCC test suite anyway, use the following command:</para>
  • chapter05/toolchaintechnotes.xml

     
    145145  through the end of this chapter will use the new dynamic linker in
    146146  <filename class="directory">/tools/lib</filename>.</para>
    147147
    148   <para>The need to use the new dynamic linker is also the reason why
    149   the Specs patch is applied for the second pass of GCC. Failure to do
     148  <para>For the second pass of GCC, its sources also need to be modified
     149  to tell GCC to use the new dynamic linker. Failure to do
    150150  so will result in the GCC programs themselves having the name of the
    151151  dynamic linker from the host system's <filename
    152152  class="directory">/lib</filename> directory embedded into them, which
  • chapter05/coreutils.xml

     
    8484<screen><userinput remap="install">make install</userinput></screen>
    8585
    8686    <para>The above command refuses to install <filename>su</filename>
    87     because it cannot install it setuid root as a non-privileged user. By
    88     manually installing it with a different name, we can use it for running
    89     tests in the final system as a non-privileged user and we keep a possibly
    90     useful <command>su</command> from our host first place in our PATH. Install
    91     it with:</para>
     87    because the program cannot be installed setuid root as a non-privileged
     88    user. By manually installing it with a different name, we can use it for
     89    running tests in the final system as a non-privileged user and we keep a
     90    possibly useful <command>su</command> from our host first place in our PATH.
     91    Install it with:</para>
    9292
    9393<screen><userinput remap="install">cp -v src/su /tools/bin/su-tools</userinput></screen>
    9494
  • chapter05/util-linux-ng.xml

     
    6060        <term><parameter>BLKID_LIBS="-lblkid -luuid"</parameter></term>
    6161        <listitem>
    6262          <para>When building only a subset of the package, the
    63           <filename class="libraryfile">libuuid.so</filename> library is not
     63          <filename class="libraryfile">libuuid.a</filename> library is not
    6464          pulled into the build as it is supposed to. This command overrides
    6565          the default from the <filename>Makefile</filename>.</para>
    6666        </listitem>
  • chapter05/dejagnu.xml

     
    4949
    5050<screen><userinput remap="install">make install</userinput></screen>
    5151
    52     <para>To test the results, issue:</para>
     52    <para>This package does come with a test suite, however, it cannot be
     53    run at this time because we do not have a C++ compiler yet.</para>
    5354
    54 <screen><userinput remap="test">make check</userinput></screen>
    55 
    5655  </sect2>
    5756
    5857