Changes in chapter06/gcc-pass2.xml [3a72ffa:d70e621]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc-pass2.xml
r3a72ffa rd70e621 55 55 mv -v mpc-&mpc-version; mpc</userinput></screen> 56 56 57 58 <para arch="default">If building on x86_64, change the default directory name for 64-bit 57 <para>If building on x86_64, change the default directory name for 64-bit 59 58 libraries to <quote>lib</quote>:</para> 60 59 61 <screen arch="default"><userinput remap="pre">case $(uname -m) in60 <screen><userinput remap="pre">case $(uname -m) in 62 61 x86_64) 63 62 sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64 64 63 ;; 65 64 esac</userinput></screen> 66 67 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for the68 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 65 74 66 <para>Override the building rule of libgcc and libstdc++ headers, to … … 88 80 <para>Now prepare GCC for compilation:</para> 89 81 90 <screen arch="default"><userinput remap="configure">../configure \82 <screen><userinput remap="configure">../configure \ 91 83 --build=$(../config.guess) \ 92 84 --host=$LFS_TGT \ … … 105 97 --disable-libvtv \ 106 98 --enable-languages=c,c++</userinput></screen> 107 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure" 108 arch="ml_32">mlist=m64,m32</userinput><userinput remap="configure" 109 arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure" 110 arch="ml_all">mlist=m64,m32,mx32</userinput> 111 <userinput remap="configure">../configure \ 112 --build=$(../config.guess) \ 113 --host=$LFS_TGT \ 114 --target=$LFS_TGT \ 115 LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \ 116 --prefix=/usr \ 117 --with-build-sysroot=$LFS \ 118 --enable-initfini-array \ 119 --disable-nls \ 120 --enable-multilib --with-multilib-list=$mlist \ 121 --disable-decimal-float \ 122 --disable-libatomic \ 123 --disable-libgomp \ 124 --disable-libquadmath \ 125 --disable-libssp \ 126 --disable-libvtv \ 127 --enable-languages=c,c++</userinput></screen> 128 <!-- 129 LDFLAGS_FOR_TARGET="-L$PWD/$LFS_TGT/libgcc -L$PWD/$LFS_TGT/32/libgcc -L$PWD/$LFS_TGT/x32/libgcc" \ 130 --> 99 131 100 <variablelist> 132 101 <title>The meaning of the new configure options:</title><!-- WIP -->
Note:
See TracChangeset
for help on using the changeset viewer.