Changeset 7126617 in clfs-sysroot
- Timestamp:
- May 26, 2006, 8:58:01 PM (19 years ago)
- Branches:
- master
- Children:
- f6c417f
- Parents:
- 1f0a9c9
- Location:
- BOOK
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/binutils.xml
r1f0a9c9 r7126617 28 28 enable.</para> 29 29 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'])"/> 32 33 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'])"/> 34 37 35 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/common/gcc-final.xml
r1f0a9c9 r7126617 32 32 33 33 <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'])"/> 36 36 37 37 <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'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/common/gcc-static.xml
r1f0a9c9 r7126617 24 24 and no Threads</title> 25 25 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'])"/> 28 29 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'])"/> 30 33 31 34 <para os="ac">The following patch ensures that <command>gcc</command> does not -
BOOK/final-system/common/binutils.xml
r1f0a9c9 r7126617 25 25 <sect2 role="installation"> 26 26 <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> 27 32 28 33 <para os="a">The Binutils documentation recommends building Binutils outside of the -
BOOK/final-system/common/gcc.xml
r1f0a9c9 r7126617 26 26 <title>Installation of GCC</title> 27 27 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 29 34 specs file:</para> 30 35 31 <screen os="p 2"><userinput>patch -Np1 -i ../&gcc-PR20425-patch;</userinput></screen>36 <screen os="p4"><userinput>patch -Np1 -i ../&gcc-PR20425-patch;</userinput></screen> 32 37 33 38 <para os="a">Apply a <command>sed</command> substitution that will suppress the … … 36 41 Binutils will be used instead:</para> 37 42 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} 44 sed 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in.orig > libiberty/Makefile.in</userinput></screen> 39 45 40 46 <para os="e1">GCC provides a <command>gccbug</command> script which detects at … … 44 50 later, so the following sed will simulate its presence:</para> 45 51 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} 53 sed 's/@have_mktemp_command@/yes/' gcc/gccbug.in.orig > gcc/gccbug.in</userinput></screen> 47 54 48 55 <para os="c">The GCC documentation recommends building GCC outside of the source … … 54 61 <para os="e">Prepare GCC for compilation:</para> 55 62 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 \ 57 64 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ 58 65 --enable-shared --enable-threads=posix --enable-__cxa_atexit \
Note:
See TracChangeset
for help on using the changeset viewer.