Changes in chapter06/gcc-pass2.xml [1835fca:0611f706]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc-pass2.xml
r1835fca r0611f706 59 59 mv -v mpc-&mpc-version; mpc</userinput></screen> 60 60 61 62 <para arch="default">If building on x86_64, change the default directory name for 64-bit 61 <para>If building on x86_64, change the default directory name for 64-bit 63 62 libraries to <quote>lib</quote>:</para> 64 63 65 <screen arch="default"><userinput remap="pre">case $(uname -m) in64 <screen><userinput remap="pre">case $(uname -m) in 66 65 x86_64) 67 66 sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64 68 67 ;; 69 68 esac</userinput></screen> 70 71 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for the72 libraries:</para>73 74 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \75 -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \76 -i.orig gcc/config/i386/t-linux64</userinput></screen>77 69 78 70 <para>Override the building rule of libgcc and libstdc++ headers, to … … 92 84 <para>Now prepare GCC for compilation:</para> 93 85 94 <screen arch="default"><userinput remap="configure">../configure \86 <screen><userinput remap="configure">../configure \ 95 87 --build=$(../config.guess) \ 96 88 --host=$LFS_TGT \ … … 110 102 --disable-libvtv \ 111 103 --enable-languages=c,c++</userinput></screen> 112 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure" 113 arch="ml_32">mlist=m64,m32</userinput><userinput remap="configure" 114 arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure" 115 arch="ml_all">mlist=m64,m32,mx32</userinput> 116 <userinput remap="configure">../configure \ 117 --build=$(../config.guess) \ 118 --host=$LFS_TGT \ 119 --target=$LFS_TGT \ 120 LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \ 121 --prefix=/usr \ 122 --with-build-sysroot=$LFS \ 123 --enable-default-pie \ 124 --enable-default-ssp \ 125 --enable-initfini-array \ 126 --disable-nls \ 127 --enable-multilib --with-multilib-list=$mlist \ 128 --disable-decimal-float \ 129 --disable-libatomic \ 130 --disable-libgomp \ 131 --disable-libquadmath \ 132 --disable-libssp \ 133 --disable-libvtv \ 134 --enable-languages=c,c++</userinput></screen> 135 <!-- 136 LDFLAGS_FOR_TARGET="-L$PWD/$LFS_TGT/libgcc -L$PWD/$LFS_TGT/32/libgcc -L$PWD/$LFS_TGT/x32/libgcc" \ 137 --> 104 138 105 <variablelist> 139 106 <title>The meaning of the new configure options:</title><!-- WIP -->
Note:
See TracChangeset
for help on using the changeset viewer.