Changeset 7126617 in clfs-sysroot


Ignore:
Timestamp:
May 26, 2006, 8:58:01 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
f6c417f
Parents:
1f0a9c9
Message:

r3664@server (orig r1665): jciccone | 2006-05-26 18:15:08 -0700
Added the posix patches to the final-system binutils and gcc. Changed some sed commands to not use -i and fixed a typo in the gcc instructions.

Location:
BOOK
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/binutils.xml

    r1f0a9c9 r7126617  
    2828    enable.</para>
    2929
    30     <para os="ba">To make sure that the proper syntax is used for a couple of
    31     tools, apply the following patch:</para>
     30    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     31    href="../../final-system/common/binutils.xml"
     32    xpointer="xpointer(//*[@os='p1'])"/>
    3233
    33 <screen os="bb"><userinput>patch -Np1 -i ../&binutils-posix-patch;</userinput></screen>
     34    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     35    href="../../final-system/common/binutils.xml"
     36    xpointer="xpointer(//*[@os='p2'])"/>
    3437
    3538    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/common/gcc-final.xml

    r1f0a9c9 r7126617  
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    34     href="gcc-static.xml"
    35     xpointer="xpointer(//*[@os='aa'])"/>
     34    href="../../final-system/common/gcc.xml"
     35    xpointer="xpointer(//*[@os='p3'])"/>
    3636
    3737    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    38     href="gcc-static.xml"
    39     xpointer="xpointer(//*[@os='ab'])"/>
     38    href="../../final-system/common/gcc.xml"
     39    xpointer="xpointer(//*[@os='p4'])"/>
    4040
    4141    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/common/gcc-static.xml

    r1f0a9c9 r7126617  
    2424    and no Threads</title>
    2525
    26     <para os="aa">To make sure that a couple of tools use the proper syntax,
    27     apply the following patch:</para>
     26    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     27    href="../../final-system/common/gcc.xml"
     28    xpointer="xpointer(//*[@os='p1'])"/>
    2829
    29 <screen os="ab"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>
     30    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     31    href="../../final-system/common/gcc.xml"
     32    xpointer="xpointer(//*[@os='p2'])"/>
    3033
    3134    <para os="ac">The following patch ensures that <command>gcc</command> does not
  • BOOK/final-system/common/binutils.xml

    r1f0a9c9 r7126617  
    2525  <sect2 role="installation">
    2626    <title>Installation of Binutils</title>
     27
     28    <para os="p1">To make sure that the proper syntax is used for a couple of
     29    tools, apply the following patch:</para>
     30
     31<screen os="p2"><userinput>patch -Np1 -i ../&binutils-posix-patch;</userinput></screen>
    2732
    2833    <para os="a">The Binutils documentation recommends building Binutils outside of the
  • BOOK/final-system/common/gcc.xml

    r1f0a9c9 r7126617  
    2626    <title>Installation of GCC</title>
    2727
    28     <para os="p1">The following patch fixes the searching of multilib dirs for
     28    <para os="p1">To make sure that a couple of tools use the proper syntax,
     29    apply the following patch:</para>
     30
     31<screen os="p2"><userinput>patch -Np1 -i ../gcc-4.1.1-posix-1.patch</userinput></screen>
     32
     33    <para os="p3">The following patch fixes the searching of multilib dirs for
    2934    specs file:</para>
    3035
    31 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-PR20425-patch;</userinput></screen>
     36<screen os="p4"><userinput>patch -Np1 -i ../&gcc-PR20425-patch;</userinput></screen>
    3237
    3338    <para os="a">Apply a <command>sed</command> substitution that will suppress the
     
    3641    Binutils will be used instead:</para>
    3742
    38 <screen os="b"><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen>
     43<screen os="b"><userinput>cp libiberty/Makefile.in{,.orig}
     44sed 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in.orig > libiberty/Makefile.in</userinput></screen>
    3945
    4046    <para os="e1">GCC provides a <command>gccbug</command> script which detects at
     
    4450    later, so the following sed will simulate its presence:</para>
    4551
    46 <screen os="e2"><userinput>sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in</userinput></screen>
     52<screen os="e2"><userinput>cp gcc/gccbug.in{,.orig}
     53sed 's/@have_mktemp_command@/yes/' gcc/gccbug.in.orig > gcc/gccbug.in</userinput></screen>
    4754
    4855    <para os="c">The GCC documentation recommends building GCC outside of the source
     
    5461    <para os="e">Prepare GCC for compilation:</para>
    5562
    56 <screen os="f"><userinput>../gcc-4.1.0/configure --prefix=/usr --libexecdir=/usr/lib \
     63<screen os="f"><userinput>../gcc-&gcc-version;/configure --prefix=/usr --libexecdir=/usr/lib \
    5764    --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
    5865    --enable-shared --enable-threads=posix --enable-__cxa_atexit \
Note: See TracChangeset for help on using the changeset viewer.