Changes in chapter05/gcc-pass1.xml [43b6ecd:0ebda11]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r43b6ecd r0ebda11 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></screen> 64 65 <para>On x86_64 hosts, set the default directory name for 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 66 68 64-bit libraries to <quote>lib</quote>:</para> 67 69 68 <screen ><userinput remap="pre">case $(uname -m) in70 <screen arch="default"><userinput remap="pre">case $(uname -m) in 69 71 x86_64) 70 72 sed -e '/m64=/s/lib64/lib/' \ … … 73 75 esac</userinput></screen> 74 76 75 <para>The GCC documentation recommends building GCC 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 76 86 in a dedicated build directory:</para> 77 87 … … 81 91 <para>Prepare GCC for compilation:</para> 82 92 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 \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 \ 102 112 --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 103 138 <variablelist> 104 139 <title>The meaning of the configure options:</title> … … 108 143 <listitem> 109 144 <para>This option ensures the package will be compatible with the host's 110 version of glibc. It is set to the minimum glibc requirement 145 version of glibc. It is set to the minimum glibc requirement 111 146 specified in the <xref linkend="ch-partitioning-hostreqs"/>.</para> 112 147 </listitem> … … 150 185 </varlistentry> 151 186 152 <varlistentry >187 <varlistentry arch="default"> 153 188 <term><parameter>--disable-multilib</parameter></term> 154 189 <listitem> … … 157 192 </listitem> 158 193 </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 is 198 specified in the multilib list.</para> 199 </listitem> 200 </varlistentry> 159 201 160 202 <varlistentry> 161 203 <term><parameter>--disable-decimal-float, --disable-threads, 162 --disable-libatomic, --disable-libgomp, 204 --disable-libatomic, --disable-libgomp, 163 205 --disable-libquadmath, --disable-libssp, --disable-libvtv, 164 206 --disable-libstdcxx</parameter></term>
Note:
See TracChangeset
for help on using the changeset viewer.