Changes in chapter05/gcc-pass1.xml [0ebda11:43b6ecd]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r0ebda11 r43b6ecd 61 61 mv -v gmp-&gmp-version; gmp 62 62 tar -xf ../mpc-&mpc-version;.tar.gz 63 mv -v mpc-&mpc-version; mpc</userinput> 64 <userinput remap="pre" arch="ml_32,ml_x32,ml_all">tar -xf ../isl-&isl-version;.tar.xz 65 mv -v isl-&isl-version; isl</userinput></screen> 66 67 <para arch="default">On x86_64 hosts, set the default directory name for 63 mv -v mpc-&mpc-version; mpc</userinput></screen> 64 65 <para>On x86_64 hosts, set the default directory name for 68 66 64-bit libraries to <quote>lib</quote>:</para> 69 67 70 <screen arch="default"><userinput remap="pre">case $(uname -m) in68 <screen><userinput remap="pre">case $(uname -m) in 71 69 x86_64) 72 70 sed -e '/m64=/s/lib64/lib/' \ … … 75 73 esac</userinput></screen> 76 74 77 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for 78 libraries:</para> 79 80 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \ 81 -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \ 82 -i.orig gcc/config/i386/t-linux64 83 </userinput></screen> 84 85 <para>The GCC documentation recommends building GCC 75 <para>The GCC documentation recommends building GCC 86 76 in a dedicated build directory:</para> 87 77 … … 91 81 <para>Prepare GCC for compilation:</para> 92 82 93 <screen arch="default"><userinput remap="configure">../configure\94 --target=$LFS_TGT 95 --prefix=$LFS/tools 96 --with-glibc-version=2.11 97 --with-sysroot=$LFS 98 --with-newlib 99 --without-headers 100 --enable-initfini-array 101 --disable-nls 102 --disable-shared 103 --disable-multilib 104 --disable-decimal-float 105 --disable-threads 106 --disable-libatomic 107 --disable-libgomp 108 --disable-libquadmath 109 --disable-libssp 110 --disable-libvtv 111 --disable-libstdcxx 83 <screen><userinput remap="configure">../configure \ 84 --target=$LFS_TGT \ 85 --prefix=$LFS/tools \ 86 --with-glibc-version=2.11 \ 87 --with-sysroot=$LFS \ 88 --with-newlib \ 89 --without-headers \ 90 --enable-initfini-array \ 91 --disable-nls \ 92 --disable-shared \ 93 --disable-multilib \ 94 --disable-decimal-float \ 95 --disable-threads \ 96 --disable-libatomic \ 97 --disable-libgomp \ 98 --disable-libquadmath \ 99 --disable-libssp \ 100 --disable-libvtv \ 101 --disable-libstdcxx \ 112 102 --enable-languages=c,c++</userinput></screen> 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 --target=$LFS_TGT \119 --prefix=$LFS/tools \120 --with-glibc-version=2.11 \121 --with-sysroot=$LFS \122 --with-newlib \123 --without-headers \124 --enable-initfini-array \125 --disable-nls \126 --disable-shared \127 --enable-multilib --with-multilib-list=$mlist \128 --disable-decimal-float \129 --disable-threads \130 --disable-libatomic \131 --disable-libgomp \132 --disable-libquadmath \133 --disable-libssp \134 --disable-libvtv \135 --disable-libstdcxx \136 --enable-languages=c,c++</userinput></screen>137 138 103 <variablelist> 139 104 <title>The meaning of the configure options:</title> … … 143 108 <listitem> 144 109 <para>This option ensures the package will be compatible with the host's 145 version of glibc. It is set to the minimum glibc requirement 110 version of glibc. It is set to the minimum glibc requirement 146 111 specified in the <xref linkend="ch-partitioning-hostreqs"/>.</para> 147 112 </listitem> … … 185 150 </varlistentry> 186 151 187 <varlistentry arch="default">152 <varlistentry> 188 153 <term><parameter>--disable-multilib</parameter></term> 189 154 <listitem> … … 192 157 </listitem> 193 158 </varlistentry> 194 <varlistentry arch="ml_32,ml_x32,ml_all">195 <term><parameter>--enable-multilib --with-multilib-list=...</parameter></term>196 <listitem>197 <para>LFS canbe used to support multilib. Which they are is198 specified in the multilib list.</para>199 </listitem>200 </varlistentry>201 159 202 160 <varlistentry> 203 161 <term><parameter>--disable-decimal-float, --disable-threads, 204 --disable-libatomic, --disable-libgomp, 162 --disable-libatomic, --disable-libgomp, 205 163 --disable-libquadmath, --disable-libssp, --disable-libvtv, 206 164 --disable-libstdcxx</parameter></term>
Note:
See TracChangeset
for help on using the changeset viewer.