Changes in chapter06/gcc-pass2.xml [3bb463d:85acfcb0]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc-pass2.xml
r3bb463d r85acfcb0 55 55 mv -v mpc-&mpc-version; mpc</userinput></screen> 56 56 57 <para>If building on x86_64, change the default directory name for 64-bit 57 58 <para arch="default">If building on x86_64, change the default directory name for 64-bit 58 59 libraries to <quote>lib</quote>:</para> 59 60 60 <screen ><userinput remap="pre">case $(uname -m) in61 <screen arch="default"><userinput remap="pre">case $(uname -m) in 61 62 x86_64) 62 63 sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64 … … 64 65 esac</userinput></screen> 65 66 67 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for the 68 libraries:</para> 69 70 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \ 71 -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \ 72 -i.orig gcc/config/i386/t-linux64</userinput></screen> 73 66 74 <!-- https://gcc.gnu.org/PR100017 --> 67 75 <para>Fix an issue causing failure cross-compiling libstdc++:</para> … … 86 94 <para>Now prepare GCC for compilation:</para> 87 95 88 <screen ><userinput remap="configure">../configure \96 <screen arch="default"><userinput remap="configure">../configure \ 89 97 --build=$(../config.guess) \ 90 98 --host=$LFS_TGT \ … … 103 111 --disable-libvtv \ 104 112 --enable-languages=c,c++</userinput></screen> 105 113 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure" 114 arch="ml_32">mlist=m64,m32</userinput><userinput remap="configure" 115 arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure" 116 arch="ml_all">mlist=m64,m32,mx32</userinput> 117 <userinput remap="configure">../configure \ 118 --build=$(../config.guess) \ 119 --host=$LFS_TGT \ 120 --target=$LFS_TGT \ 121 LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \ 122 --prefix=/usr \ 123 --with-build-sysroot=$LFS \ 124 --enable-initfini-array \ 125 --disable-nls \ 126 --enable-multilib --with-multilib-list=$mlist \ 127 --disable-decimal-float \ 128 --disable-libatomic \ 129 --disable-libgomp \ 130 --disable-libquadmath \ 131 --disable-libssp \ 132 --disable-libvtv \ 133 --enable-languages=c,c++</userinput></screen> 134 <!-- 135 LDFLAGS_FOR_TARGET="-L$PWD/$LFS_TGT/libgcc -L$PWD/$LFS_TGT/32/libgcc -L$PWD/$LFS_TGT/x32/libgcc" \ 136 --> 106 137 <variablelist> 107 138 <title>The meaning of the new configure options:</title><!-- WIP -->
Note:
See TracChangeset
for help on using the changeset viewer.