Changeset 7126617 in clfs-sysroot for BOOK/final-system/common


Ignore:
Timestamp:
May 26, 2006, 8:58:01 PM (19 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/final-system/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.