Changeset 9e26f63 for chapter05


Ignore:
Timestamp:
02/02/2006 09:35:05 PM (18 years ago)
Author:
Matthew Burgess <matthew@…>
Children:
a7fe252
Parents:
0e5c784
Message:

Merge r7314:7324, in order to bring the branch up to date with trunk

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

Location:
chapter05
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • chapter05/adjusting.xml

    r0e5c784 r9e26f63  
    1616  compiler's specs file need to be adjusted.</para>
    1717
    18   <para>The linker, adjusted at the end of the first pass of Binutils,
    19   is installed by running the following command from within the
    20   <filename class="directory">binutils-build</filename> directory:</para>
     18  <para>The linker, adjusted at the end of the first pass of Binutils, needs
     19  to be renamed so that it can be properly found and used. First, backup the
     20  original linker, then replace it with the adjusted linker. We'll also
     21  create a link to its counterpart in <filename class="directory">
     22  /tools/$(gcc -dumpmachine)/bin</filename></para>
    2123
    22 <screen><userinput>make -C ld install</userinput></screen>
     24<screen><userinput>mv -v /tools/bin/{ld,ld-old}
     25mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
     26mv -v /tools/bin/{ld-new,ld}
     27ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen>
    2328
    2429  <para>From this point onwards, everything will link only against the
    2530  libraries in <filename class="directory">/tools/lib</filename>.</para>
    26 
    27   <note>
    28     <para>If the earlier warning to retain the Binutils source and
    29     build directories from the first pass was missed, ignore the above
    30     command. This results in a small chance that the subsequent testing
    31     programs will link against libraries on the host. This is not ideal,
    32     but it is not a major problem. The situation is corrected when the
    33     second pass of Binutils is installed later.</para>
    34   </note>
    35 
    36   <para>Now that the adjusted linker is installed, the Binutils build and source
    37   directories should be removed.</para>
    3831
    3932  <para>The next task is to point GCC to the new dynamic linker. This is done by
  • chapter05/bash.xml

    r0e5c784 r9e26f63  
    4747
    4848    <variablelist>
    49       <title>The meaning of the configure options:</title>
     49      <title>The meaning of the configure option:</title>
    5050
    5151      <varlistentry>
    5252        <term><parameter>--without-bash-malloc</parameter></term>
    5353        <listitem>
    54           <para>This options turns off the use of Bash's memory allocation
     54          <para>This option turns off the use of Bash's memory allocation
    5555          (<function>malloc</function>) function which is known to cause
    5656          segmentation faults. By turning this option off, Bash will use
  • chapter05/binutils-pass1.xml

    r0e5c784 r9e26f63  
    106106
    107107<screen><userinput>make -C ld clean
    108 make -C ld LIB_PATH=/tools/lib</userinput></screen>
     108make -C ld LIB_PATH=/tools/lib
     109cp -v ld/ld-new /tools/bin</userinput></screen>
    109110
    110111    <variablelist>
     
    135136    </variablelist>
    136137
    137     <warning>
    138       <para><emphasis>Do not</emphasis> remove the Binutils build and source
    139       directories yet. These will be needed again in their current state later
    140       in this chapter.</para>
    141     </warning>
    142 
    143138  </sect2>
    144139
  • chapter05/binutils-pass2.xml

    r0e5c784 r9e26f63  
    8787
    8888<screen><userinput>make -C ld clean
    89 make -C ld LDFLAGS="-s" LIB_PATH=/usr/lib:/lib
     89make -C ld LIB_PATH=/usr/lib:/lib
    9090cp -v ld/ld-new /tools/bin</userinput></screen>
    9191
  • chapter05/gcc-pass1.xml

    r0e5c784 r9e26f63  
    9494
    9595    <variablelist>
    96       <title>The meaning of the make parameters:</title>
     96      <title>The meaning of the make parameter:</title>
    9797
    9898      <varlistentry>
  • chapter05/gettext.xml

    r0e5c784 r9e26f63  
    5151
    5252    <variablelist>
    53       <title>The meaning of the configure options:</title>
     53      <title>The meaning of the configure option:</title>
    5454
    5555      <varlistentry>
  • chapter05/grep.xml

    r0e5c784 r9e26f63  
    4848
    4949    <variablelist>
    50       <title>The meaning of the configure options:</title>
     50      <title>The meaning of the configure option:</title>
    5151
    5252      <varlistentry>
  • chapter05/introduction.xml

    r0e5c784 r9e26f63  
    5353    <para>After installing each package, delete its source and build directories,
    5454    unless specifically instructed otherwise. Deleting the sources prevents
    55     mis-configuration when the same package is reinstalled later. Only three
    56     of the packages need to retain the source and build directories in order
    57     for their contents to be used by later commands. Pay special attention to
    58     these reminders.</para>
     55    mis-configuration when the same package is reinstalled later.</para>
    5956  </important>
    6057
Note: See TracChangeset for help on using the changeset viewer.