Changes in chapter06/gcc-pass2.xml [d70e621:3a72ffa]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc-pass2.xml
rd70e621 r3a72ffa 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 <para>Override the building rule of libgcc and libstdc++ headers, to 67 75 allow building these libraries with POSIX threads support:</para> … … 80 88 <para>Now prepare GCC for compilation:</para> 81 89 82 <screen ><userinput remap="configure">../configure \90 <screen arch="default"><userinput remap="configure">../configure \ 83 91 --build=$(../config.guess) \ 84 92 --host=$LFS_TGT \ … … 97 105 --disable-libvtv \ 98 106 --enable-languages=c,c++</userinput></screen> 99 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 --> 100 131 <variablelist> 101 132 <title>The meaning of the new configure options:</title><!-- WIP -->
Note:
See TracChangeset
for help on using the changeset viewer.