Changeset 7126617 in clfs-sysroot for BOOK/final-system
- Timestamp:
- May 26, 2006, 8:58:01 PM (19 years ago)
- Branches:
- master
- Children:
- f6c417f
- Parents:
- 1f0a9c9
- Location:
- BOOK/final-system/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.