Changes in chapter06/gcc-pass2.xml [0611f706:1835fca]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc-pass2.xml
r0611f706 r1835fca 59 59 mv -v mpc-&mpc-version; mpc</userinput></screen> 60 60 61 <para>If building on x86_64, change the default directory name for 64-bit 61 62 <para arch="default">If building on x86_64, change the default directory name for 64-bit 62 63 libraries to <quote>lib</quote>:</para> 63 64 64 <screen ><userinput remap="pre">case $(uname -m) in65 <screen arch="default"><userinput remap="pre">case $(uname -m) in 65 66 x86_64) 66 67 sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64 … … 68 69 esac</userinput></screen> 69 70 71 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for the 72 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 70 78 <para>Override the building rule of libgcc and libstdc++ headers, to 71 79 allow building these libraries with POSIX threads support:</para> … … 84 92 <para>Now prepare GCC for compilation:</para> 85 93 86 <screen ><userinput remap="configure">../configure \94 <screen arch="default"><userinput remap="configure">../configure \ 87 95 --build=$(../config.guess) \ 88 96 --host=$LFS_TGT \ … … 102 110 --disable-libvtv \ 103 111 --enable-languages=c,c++</userinput></screen> 104 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 --> 105 138 <variablelist> 106 139 <title>The meaning of the new configure options:</title><!-- WIP -->
Note:
See TracChangeset
for help on using the changeset viewer.