Changeset ee1a413
- Timestamp:
- 04/07/2019 09:47:30 AM (5 years ago)
- Branches:
- multilib-10.1
- Children:
- a23757b
- Parents:
- 7d9f881
- Files:
-
- 45 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r7d9f881 ree1a413 39 39 endif 40 40 ifneq ($(ARCH), default) 41 ifneq ($(ARCH), multilib) 42 $(error ARCH must be either 'default' (default if unset) or 'multilib'.) 41 ifneq ($(ARCH), ml_32) 42 ifneq ($(ARCH), ml_x32) 43 ifneq ($(ARCH), ml_all) 44 $(error ARCH must be either 'default' (default if unset), 'ml_32', 'ml_x32' or 'ml_all'.) 45 endif 46 endif 43 47 endif 44 48 endif -
chapter01/askforhelp.xml
r7d9f881 ree1a413 40 40 <listitem> 41 41 <para>The version of the book being used (in this case 42 43 <phrase arch="multilib" revision="sysv">&version;-multilib</phrase>42 <phrase arch="default" revision="sysv">&version;</phrase> 43 <phrase arch="ml_32,ml_x32,ml_all" revision="sysv">&version;-multilib</phrase> 44 44 <phrase arch="default" revision="systemd">&versiond;</phrase> 45 <phrase arch="m ultilib" revision="systemd">&versiond;-multilib</phrase>)</para>45 <phrase arch="ml_32,ml_x32,ml_all" revision="systemd">&versiond;-multilib</phrase>)</para> 46 46 47 47 </listitem> -
chapter01/changelog.xml
r7d9f881 ree1a413 13 13 <para>This is version 14 14 <phrase arch="default" revision="sysv">&version;</phrase> 15 <phrase arch="m ultilib" revision="sysv">&version;-multilib</phrase>15 <phrase arch="ml_32,ml_x32,ml_all" revision="sysv">&version;-multilib</phrase> 16 16 <phrase arch="default" revision="systemd">&versiond;</phrase> 17 <phrase arch="m ultilib" revision="systemd">&versiond;-multilib</phrase>17 <phrase arch="ml_32,ml_x32,ml_all" revision="systemd">&versiond;-multilib</phrase> 18 18 of the Linux From Scratch book, dated 19 19 &releasedate;. If this book is more than six months old, a newer and better -
chapter04/settingenviron.xml
r7d9f881 ree1a413 48 48 EOF</userinput></screen> 49 49 50 <screen arch="m ultilib"><userinput>cat > ~/.bashrc << "EOF"50 <screen arch="ml_32,ml_x32,ml_all"><userinput>cat > ~/.bashrc << "EOF" 51 51 <literal>set +h 52 52 umask 022 -
chapter05/binutils-pass1.xml
r7d9f881 ree1a413 80 80 --disable-werror</userinput></screen> 81 81 82 <screen arch="multilib"><userinput remap="configure">../configure --prefix=/tools \ 82 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">lpath=/tools/lib</userinput> 83 <userinput remap="configure" arch="ml_32,ml_all">lpath="$lpath:/tools/lib32"</userinput> 84 <userinput remap="configure" arch="ml_x32,ml_all">lpath="$lpath:/tools/libx32"</userinput> 85 <userinput remap="configure">../configure --prefix=/tools \ 83 86 --with-sysroot=$LFS \ 84 --with-lib-path= /tools/lib:/tools/lib32:/tools/libx32\87 --with-lib-path=$lpath \ 85 88 --target=$LFS_TGT \ 86 89 --disable-nls \ … … 159 162 sanity of the toolchain:</para> 160 163 161 <para arch="m ultilib">Create a symlink to ensure the sanity of164 <para arch="ml_32,ml_x32,ml_all">Create a symlink to ensure the sanity of 162 165 the toolchain:</para> 163 166 … … 166 169 esac</userinput></screen> 167 170 168 <screen arch="m ultilib"><userinput remap="install">mkdir -v /tools/lib &&171 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="install">mkdir -v /tools/lib && 169 172 ln -sv lib /tools/lib64</userinput></screen> 170 173 -
chapter05/binutils-pass2.xml
r7d9f881 ree1a413 61 61 --with-sysroot</userinput></screen> 62 62 63 <screen arch="multilib"><userinput remap="configure">CC=$LFS_TGT-gcc \ 63 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">lpath=/tools/lib</userinput> 64 <userinput remap="configure" arch="ml_32,ml_all">lpath="$lpath:/tools/lib32"</userinput> 65 <userinput remap="configure" arch="ml_x32,ml_all">lpath="$lpath:/tools/libx32"</userinput> 66 <userinput remap="configure">CC=$LFS_TGT-gcc \ 64 67 AR=$LFS_TGT-ar \ 65 68 RANLIB=$LFS_TGT-ranlib \ … … 68 71 --disable-nls \ 69 72 --disable-werror \ 70 --with-lib-path= /tools/lib:/tools/lib32:/tools/libx32\73 --with-lib-path=$lpath \ 71 74 --with-sysroot \ 72 75 --enable-64-bit-bfd \ … … 96 99 </varlistentry> 97 100 98 <varlistentry arch="m ultilib">101 <varlistentry arch="ml_32,ml_x32,ml_all"> 99 102 <term><parameter>--with-lib-path=/tools/lib:...</parameter></term> 100 103 <listitem> … … 119 122 </varlistentry> 120 123 121 <varlistentry arch="m ultilib">124 <varlistentry arch="ml_32,ml_x32,ml_all"> 122 125 <term><parameter>--enable-64-bit-bfd</parameter></term> 123 126 <listitem> … … 126 129 </varlistentry> 127 130 128 <varlistentry arch="m ultilib">131 <varlistentry arch="ml_32,ml_x32,ml_all"> 129 132 <term><parameter>--enable-multilib</parameter></term> 130 133 <listitem> … … 150 153 cp -v ld/ld-new /tools/bin</userinput></screen> 151 154 152 <screen arch="m ultilib"><userinput remap="adjust">make -C ld clean155 <screen arch="ml_all"><userinput remap="adjust">make -C ld clean 153 156 make -C ld LIB_PATH=/usr/lib:/lib:/usr/lib32:/lib32:/usr/libx32:/libx32 157 cp -v ld/ld-new /tools/bin</userinput></screen> 158 <screen arch="ml_32"><userinput remap="adjust">make -C ld clean 159 make -C ld LIB_PATH=/usr/lib:/lib:/usr/lib32:/lib32 160 cp -v ld/ld-new /tools/bin</userinput></screen> 161 <screen arch="ml_x32"><userinput remap="adjust">make -C ld clean 162 make -C ld LIB_PATH=/usr/lib:/lib:/usr/libx32:/libx32 154 163 cp -v ld/ld-new /tools/bin</userinput></screen> 155 164 -
chapter05/gcc-pass1.xml
r7d9f881 ree1a413 50 50 automatically use them:</para> 51 51 52 <para arch="m ultilib">GCC now requires the GMP, ISL, MPFR, and MPC packages.52 <para arch="ml_32,ml_x32,ml_all">GCC now requires the GMP, ISL, MPFR, and MPC packages. 53 53 As these packages may not be included in your host distribution, they will 54 54 be built with GCC. Unpack each package into the GCC source directory and … … 68 68 tar -xf ../mpc-&mpc-version;.tar.gz 69 69 mv -v mpc-&mpc-version; mpc</userinput></screen> 70 <screen arch="m ultilib"><userinput remap="pre">tar -xf ../mpfr-&mpfr-version;.tar.xz70 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">tar -xf ../mpfr-&mpfr-version;.tar.xz 71 71 mv -v mpfr-&mpfr-version; mpfr 72 72 tar -xf ../gmp-&gmp-version;.tar.xz … … 122 122 esac</userinput></screen> 123 123 124 <screen arch="m ultilib"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \124 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \ 125 125 -i.orig gcc/config/i386/t-linux64 126 126 cat > gcc/config/i386/t-linux64 <<"EOF" … … 150 150 <!-- see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724 --> 151 151 <!-- Fix applied in ch5-gcc-pass{1,2}, ch6-gcc --> 152 <para arch="m ultilib">Fix an issue with isl-&isl-version;:</para>153 154 <screen arch="m ultilib"><userinput remap="pre">sed -e "/#include <isl\/schedule_node.h>/ a#include <isl/id.h>\n#include <isl/space.h>" \152 <para arch="ml_32,ml_x32,ml_all">Fix an issue with isl-&isl-version;:</para> 153 154 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e "/#include <isl\/schedule_node.h>/ a#include <isl/id.h>\n#include <isl/space.h>" \ 155 155 -i gcc/graphite.h</userinput></screen> 156 156 … … 186 186 --enable-languages=c,c++</userinput></screen> 187 187 188 <screen arch="multilib"><userinput remap="configure">../configure \ 188 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">mlist="m64"</userinput> 189 <userinput arch="ml_32,ml_all" remap="configure">mlist="$mlist,m32"</userinput> 190 <userinput arch="ml_x32,ml_all" remap="configure">mlist="$mlist,mx32"</userinput> 191 <userinput remap="configure">../configure \ 189 192 --target=$LFS_TGT \ 190 193 --prefix=/tools \ … … 198 201 --disable-shared \ 199 202 --enable-multilib \ 200 --with-multilib-list= m32,m64,mx32\203 --with-multilib-list=$mlist \ 201 204 --disable-decimal-float \ 202 205 --disable-threads \ … … 287 290 </varlistentry> 288 291 289 <varlistentry arch="m ultilib">292 <varlistentry arch="ml_32,ml_x32,ml_all"> 290 293 <term><parameter>--enable-multilib, 291 294 --with-multilib-list=m32,m64,mx32</parameter></term> -
chapter05/gcc-pass2.xml
r7d9f881 ree1a413 94 94 esac</userinput></screen> 95 95 96 <para arch="m ultilib">Change the default directory name for 64-bit96 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for 64-bit 97 97 libraries to <quote>lib</quote>:</para> 98 98 99 <screen arch="m ultilib"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \99 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \ 100 100 -i.orig gcc/config/i386/t-linux64 101 101 cat > gcc/config/i386/t-linux64 <<"EOF" … … 112 112 required directory names:</para> 113 113 114 <para arch="m ultilib">As in the first build of GCC it requires the GMP,114 <para arch="ml_32,ml_x32,ml_all">As in the first build of GCC it requires the GMP, 115 115 ISL, MPFR, and MPC packages. Unpack the tarballs and move them into the 116 116 required directory names:</para> … … 122 122 tar -xf ../mpc-&mpc-version;.tar.gz 123 123 mv -v mpc-&mpc-version; mpc</userinput></screen> 124 <screen arch="m ultilib"><userinput remap="pre">tar -xf ../mpfr-&mpfr-version;.tar.xz124 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">tar -xf ../mpfr-&mpfr-version;.tar.xz 125 125 mv -v mpfr-&mpfr-version; mpfr 126 126 tar -xf ../gmp-&gmp-version;.tar.xz … … 132 132 133 133 <!-- Following patch might be obsolete with gcc >= 8.2.1 --> 134 <para arch="m ultilib">Fix an issue with isl-&isl-version;:</para>135 136 <screen arch="m ultilib"><userinput remap="pre">sed -e "/#include <isl\/schedule_node.h>/ a#include <isl/id.h>\n#include <isl/space.h>" \134 <para arch="ml_32,ml_x32,ml_all">Fix an issue with isl-&isl-version;:</para> 135 136 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e "/#include <isl\/schedule_node.h>/ a#include <isl/id.h>\n#include <isl/space.h>" \ 137 137 -i gcc/graphite.h</userinput></screen> 138 138 … … 161 161 --disable-libgomp</userinput></screen> 162 162 163 <screen arch="multilib"><userinput remap="configure">CC=$LFS_TGT-gcc \ 163 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">mlist="m64"</userinput> 164 <userinput arch="ml_32,ml_all" remap="configure">mlist="$mlist,m32"</userinput> 165 <userinput arch="ml_x32,ml_all" remap="configure">mlist="$mlist,mx32"</userinput> 166 <userinput remap="configure">CC=$LFS_TGT-gcc \ 164 167 CXX=$LFS_TGT-g++ \ 165 168 AR=$LFS_TGT-ar \ … … 172 175 --disable-libstdcxx-pch \ 173 176 --enable-multilib \ 174 --with-multilib-list= m32,m64,mx32\177 --with-multilib-list=$mlist \ 175 178 --with-system-zlib \ 176 179 --disable-bootstrap \ … … 245 248 246 249 247 <para arch="m ultilib">Repeat the test for 32-bit:</para>248 249 <screen arch="m ultilib"><userinput>cc -m32 dummy.c250 <para arch="ml_32,ml_all">Repeat the test for 32-bit:</para> 251 252 <screen arch="ml_32,ml_all"><userinput>cc -m32 dummy.c 250 253 readelf -l a.out | grep ': /tools'</userinput></screen> 251 254 252 <para arch="m ultilib">In this case, the output shoud be:</para>253 254 <screen arch="m ultilib"><computeroutput>[Requesting program interpreter: /tools/lib/ld-linux.so.2]</computeroutput></screen>255 256 <para arch="m ultilib">Repeat the test for x32-bit:</para>257 258 <screen arch="m ultilib"><userinput>cc -mx32 dummy.c255 <para arch="ml_32,ml_all">In this case, the output shoud be:</para> 256 257 <screen arch="ml_32,ml_all"><computeroutput>[Requesting program interpreter: /tools/lib/ld-linux.so.2]</computeroutput></screen> 258 259 <para arch="ml_x32,ml_all">Repeat the test for x32-bit:</para> 260 261 <screen arch="ml_x32,ml_all"><userinput>cc -mx32 dummy.c 259 262 readelf -l a.out | grep ': /tools'</userinput></screen> 260 263 261 <para arch="m ultilib">In this case, the output shoud be:</para>262 263 <screen arch="m ultilib"><computeroutput>[Requesting program interpreter: /tools/lib/ld-linux-x32.so.2]</computeroutput></screen>264 <para arch="ml_x32,ml_all">In this case, the output shoud be:</para> 265 266 <screen arch="ml_x32,ml_all"><computeroutput>[Requesting program interpreter: /tools/lib/ld-linux-x32.so.2]</computeroutput></screen> 264 267 265 268 <para arch="default">Note that the dynamic linker will be -
chapter05/glibc.xml
r7d9f881 ree1a413 83 83 </varlistentry> 84 84 85 <varlistentry arch="m ultilib">85 <varlistentry arch="ml_32,ml_x32,ml_all"> 86 86 <term><parameter>--enable-multi-arch</parameter></term> 87 87 <listitem> … … 192 192 </sect2> 193 193 194 <sect2 arch="m ultilib" role="installation">194 <sect2 arch="ml_32,ml_all" role="installation"> 195 195 <title>Installation of Glibc 32-bit</title> 196 196 … … 214 214 --libexecdir=/tools/lib32 \ 215 215 --with-headers=/tools/include \ 216 --with-binutils=/tools/bin \ 216 --with-binutils=/tools/bin</userinput></screen> 217 <!-- \ 217 218 libc_cv_forced_unwind=yes \ 218 libc_cv_c_cleanup=yes</userinput></screen> 219 libc_cv_c_cleanup=yes</userinput></screen> --> 219 220 220 221 <para>Now compile the 32-bit version of glibc:</para> … … 232 233 </sect2> 233 234 234 <sect2 arch="m ultilib" role="installation">235 <sect2 arch="ml_x32,ml_all" role="installation"> 235 236 <title>Installation of Glibc x32-bit</title> 236 237 … … 254 255 --libexecdir=/tools/libx32 \ 255 256 --with-headers=/tools/include \ 256 --with-binutils=/tools/bin \ 257 --with-binutils=/tools/bin</userinput></screen> 258 <!-- \ 257 259 libc_cv_forced_unwind=yes \ 258 libc_cv_c_cleanup=yes</userinput></screen> 260 libc_cv_c_cleanup=yes</userinput></screen> --> 259 261 260 262 <para>Now compile the x32-bit version of glibc:</para> -
chapter05/ncurses.xml
r7d9f881 ree1a413 113 113 </sect2> 114 114 115 <sect2 arch="m ultilib" role="installation">115 <sect2 arch="ml_32,ml_all" role="installation"> 116 116 <title>Installation of Ncurses - 32 bit</title> 117 117 … … 144 144 </sect2> 145 145 146 <sect2 arch="m ultilib" role="installation">146 <sect2 arch="ml_x32,ml_all" role="installation"> 147 147 <title>Installation of Ncurses - x32 bit</title> 148 148 -
chapter05/stripping.xml
r7d9f881 ree1a413 19 19 /usr/bin/strip --strip-unneeded /tools/{,s}bin/*</userinput></screen> 20 20 21 <screen arch="multilib"><userinput>strip --strip-debug /tools/lib{,{,x}32}/* 21 <screen arch="ml_32"><userinput>strip --strip-debug /tools/lib{,32}/* 22 /usr/bin/strip --strip-unneeded /tools/{,s}bin/*</userinput></screen> 23 <screen arch="ml_x32"><userinput>strip --strip-debug /tools/lib{,x32}/* 24 /usr/bin/strip --strip-unneeded /tools/{,s}bin/*</userinput></screen> 25 <screen arch="ml_all"><userinput>strip --strip-debug /tools/lib{,{,x}32}/* 22 26 /usr/bin/strip --strip-unneeded /tools/{,s}bin/*</userinput></screen> 23 27 … … 39 43 <screen arch="default"><userinput>find /tools/{lib,libexec} -name \*.la -delete</userinput></screen> 40 44 41 <screen arch="multilib"><userinput>find /tools/{lib{,{,x}32},libexec} -name \*.la -delete</userinput></screen> 45 <screen arch="ml_32"><userinput>find /tools/{lib{,32},libexec} -name \*.la -delete</userinput></screen> 46 <screen arch="ml_x32"><userinput>find /tools/{lib{,x32},libexec} -name \*.la -delete</userinput></screen> 47 <screen arch="ml_all"><userinput>find /tools/{lib{,{,x}32},libexec} -name \*.la -delete</userinput></screen> 42 48 43 49 <para>At this point, you should have at least 3 GB of free space in -
chapter05/util-linux.xml
r7d9f881 ree1a413 122 122 </sect2> 123 123 124 <sect2 arch="m ultilib" role="installation">124 <sect2 arch="ml_32,ml_all" role="installation"> 125 125 <title>Installation of Util-Linux - 32 bit</title> 126 126 … … 154 154 </sect2> 155 155 156 <sect2 arch="m ultilib" role="installation">156 <sect2 arch="ml_x32,ml_all" role="installation"> 157 157 <title>Installation of Util-Linux - x32 bit</title> 158 158 -
chapter05/xz.xml
r7d9f881 ree1a413 64 64 </sect2> 65 65 66 <sect2 arch="m ultilib" role="installation">66 <sect2 arch="ml_32,ml_all" role="installation"> 67 67 <title>Installation of Xz - 32 bit</title> 68 68 … … 91 91 </sect2> 92 92 93 <sect2 arch="m ultilib" role="installation">93 <sect2 arch="ml_x32,ml_all" role="installation"> 94 94 <title>Installation of Xz - x32 bit</title> 95 95 -
chapter05/zlib.xml
r7d9f881 ree1a413 6 6 ]> 7 7 8 <sect1 arch="m ultilib" id="ch-tools-zlib" role="wrap">8 <sect1 arch="ml_32,ml_x32,ml_all" id="ch-tools-zlib" role="wrap"> 9 9 <?dbhtml filename="zlib.html"?> 10 10 … … 60 60 </sect2> 61 61 62 <sect2 arch="m ultilib" role="installation">62 <sect2 arch="ml_32,ml_all" role="installation"> 63 63 <title>Installation of Zlib - 32 bit</title> 64 64 … … 83 83 </sect2> 84 84 85 <sect2 arch="m ultilib" role="installation">85 <sect2 arch="ml_x32,ml_all" role="installation"> 86 86 <title>Installation of Zlib - x32 bit</title> 87 87 -
chapter06/acl.xml
r7d9f881 ree1a413 80 80 </sect2> 81 81 82 <sect2 arch="multilib" role="installation"> 82 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 83 84 <sect2 arch="ml_32,ml_all" role="installation"> 83 85 <title>Installation of Acl - 32-bit</title> 84 86 … … 106 108 </sect2> 107 109 108 <sect2 arch="multilib" role="installation"> 110 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 111 112 <sect2 arch="ml_x32,ml_all" role="installation"> 109 113 <title>Installation of Acl - x32-bit</title> 110 114 -
chapter06/attr.xml
r7d9f881 ree1a413 79 79 </sect2> 80 80 81 <sect2 arch="multilib" role="installation"> 81 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 82 83 <sect2 arch="ml_32,ml_all" role="installation"> 82 84 <title>Installation of Attr - 32-bit</title> 83 85 … … 106 108 </sect2> 107 109 108 <sect2 arch="multilib" role="installation"> 110 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 111 112 <sect2 arch="ml_x32,ml_all" role="installation"> 109 113 <title>Installation of Attr - x32-bit</title> 110 114 -
chapter06/bzip2.xml
r7d9f881 ree1a413 98 98 </sect2> 99 99 100 <sect2 arch="multilib" role="installation"> 100 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 101 102 <sect2 arch="ml_32,ml_all" role="installation"> 101 103 <title>Installation of Bzip2 - 32-bit</title> 102 104 … … 122 124 </sect2> 123 125 124 <sect2 arch="multilib" role="installation"> 126 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 127 128 <sect2 arch="ml_x32,ml_all" role="installation"> 125 129 <title>Installation of Bzip2 - x32-bit</title> 126 130 -
chapter06/chapter06.xml
r7d9f881 ree1a413 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="adjusting.xml"/> 24 24 25 <!-- arch="m ultilib" only -->25 <!-- arch="ml_32,ml_x32,ml_all" only --> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glibc-32.xml"/> 27 27 -
chapter06/createfiles.xml
r7d9f881 ree1a413 48 48 49 49 ln -sv bash /bin/sh</userinput></screen> 50 <screen arch="m ultilib"><userinput>ln -sv /tools/bin/{bash,cat,chmod,dd,echo,ln,mkdir,pwd,rm,stty,touch} /bin50 <screen arch="ml_32,ml_x32,ml_all"><userinput>ln -sv /tools/bin/{bash,cat,chmod,dd,echo,ln,mkdir,pwd,rm,stty,touch} /bin 51 51 ln -sv /tools/bin/{env,install,perl,printf} /usr/bin 52 for lib in lib{ ,32,x32}; do52 for lib in lib{</userinput><userinput arch="ml_32,ml_all">,32</userinput><userinput arch="ml_x32,ml_all">,x32</userinput><userinput>}; do 53 53 ln -sv /tools/$lib/libgcc_s.so{,.1} /usr/$lib 54 54 ln -sv /tools/$lib/libstdc++.{a,so{,.6}} /usr/$lib 55 55 done 56 ln -sv /usr/libx32 / 57 58 install -vdm755 /usr/lib{,32,x32}/pkgconfig 56 </userinput><userinput arch="ml_x32,ml_all">ln -sv /usr/libx32 /</userinput><userinput> 57 install -vdm755 /usr/lib{</userinput><userinput arch="ml_32,ml_all">,32</userinput><userinput arch="ml_x32,ml_all">,x32</userinput><userinput>}/pkgconfig 59 58 60 59 ln -sv bash /bin/sh</userinput></screen> -
chapter06/creatingdirs.xml
r7d9f881 ree1a413 32 32 ln -sv /run/lock /var/lock 33 33 mkdir -pv /var/{opt,cache,lib/{color,misc,locate},local}</userinput></screen> 34 <screen arch="m ultilib"><userinput>mkdir -pv /{bin,boot,etc/{opt,sysconfig,ld.so.conf.d},home,lib/firmware,mnt,opt}34 <screen arch="ml_32,ml_x32,ml_all"><userinput>mkdir -pv /{bin,boot,etc/{opt,sysconfig,ld.so.conf.d},home,lib/firmware,mnt,opt} 35 35 mkdir -pv /{media/{floppy,cdrom},sbin,srv,var} 36 36 install -dv -m 0750 /root … … 45 45 ln -sv /run /var/run 46 46 ln -sv /run/lock /var/lock 47 mkdir -pv /var/{opt,cache,lib/{color,misc,locate},local} 48 mkdir -pv /usr/lib{,x}32</userinput></screen> 47 mkdir -pv /var/{opt,cache,lib/{color,misc,locate},local}</userinput> 48 <userinput arch="ml_32,ml_all">mkdir -pv /usr/lib32</userinput> 49 <userinput arch="ml_x32,ml_all">mkdir -pv /usr/libx32</userinput></screen> 49 50 50 51 <para>Directories are, by default, created with permission mode 755, but -
chapter06/eudev.xml
r7d9f881 ree1a413 107 107 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 108 108 109 <sect2 arch="m ultilib" role="installation">109 <sect2 arch="ml_32,ml_all" role="installation"> 110 110 <title>Installation of Eudev - 32-bit</title> 111 111 … … 144 144 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 145 145 146 <sect2 arch="m ultilib" role="installation">146 <sect2 arch="ml_x32,ml_all" role="installation"> 147 147 <title>Installation of Eudev - x32-bit</title> 148 148 -
chapter06/expat.xml
r7d9f881 ree1a413 70 70 </sect2> 71 71 72 <sect2 arch="multilib" role="installation"> 72 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 73 74 <sect2 arch="ml_32,ml_all" role="installation"> 73 75 <title>Installation of Expat - 32-bit</title> 74 76 … … 98 100 </sect2> 99 101 100 <sect2 arch="multilib" role="installation"> 102 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 103 104 <sect2 arch="ml_x32,ml_all" role="installation"> 101 105 <title>Installation of Zlib - x32-bit</title> 102 106 -
chapter06/file.xml
r7d9f881 ree1a413 60 60 </sect2> 61 61 62 <sect2 arch="multilib" role="installation"> 62 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 63 64 <sect2 arch="ml_32,ml_all" role="installation"> 63 65 <title>Installation of File - 32-bit</title> 64 66 … … 86 88 </sect2> 87 89 88 <sect2 arch="multilib" role="installation"> 90 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 91 92 <sect2 arch="ml_x32,ml_all" role="installation"> 89 93 <title>Installation of File - x32-bit</title> 90 94 -
chapter06/gcc.xml
r7d9f881 ree1a413 52 52 esac</userinput></screen> 53 53 54 <para arch="m ultilib">Change the default directory name for 64-bit54 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for 64-bit 55 55 libraries to <quote>lib</quote>:</para> 56 56 57 <screen arch="m ultilib"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \57 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \ 58 58 -i.orig gcc/config/i386/t-linux64 59 59 cat > gcc/config/i386/t-linux64 <<"EOF" … … 91 91 --disable-libmpx \ 92 92 --with-system-zlib</userinput></screen> 93 94 <screen arch="multilib"><userinput remap="configure">SED=sed \ 93 <screen arch="ml_32"><userinput remap="configure">SED=sed \ 95 94 ../configure --prefix=/usr \ 96 95 --enable-languages=c,c++ \ 97 96 --enable-multilib \ 98 --with-multilib-list=m32,m64 ,mx32\97 --with-multilib-list=m32,m64 \ 99 98 --disable-bootstrap \ 99 --disable-libmpx \ 100 --with-system-zlib</userinput></screen> 101 <screen arch="ml_x32"><userinput remap="configure">SED=sed \ 102 ../configure --prefix=/usr \ 103 --enable-languages=c,c++ \ 104 --enable-multilib \ 105 --with-multilib-list=mx32,m64 \ 106 --disable-bootstrap \ 107 --disable-libmpx \ 108 --with-system-zlib</userinput></screen> 109 <screen arch="ml_all"><userinput remap="configure">SED=sed \ 110 ../configure --prefix=/usr \ 111 --enable-languages=c,c++ \ 112 --enable-multilib \ 113 --with-multilib-list=m32,mx32,m64 \ 114 --disable-bootstrap \ 115 --disable-libmpx \ 100 116 --with-system-zlib</userinput></screen> 101 117 -
chapter06/glibc-32.xml
r7d9f881 ree1a413 6 6 ]> 7 7 8 <sect1 arch="m ultilib" id="ch-system-glibc-32" role="wrap">8 <sect1 arch="ml_32,ml_x32,ml_all" id="ch-system-glibc-32" role="wrap"> 9 9 <?dbhtml filename="glibc-32.html"?> 10 10 … … 41 41 </sect2> 42 42 --> 43 <sect2 role="installation"> 43 44 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 45 46 <sect2 arch="ml_32,ml_all" role="installation"> 44 47 <title>Installation of Glibc - 32-bit</title> 45 48 … … 98 101 </sect2> 99 102 100 <sect2> 103 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 104 105 <sect2 arch="ml_x32,ml_all" role="installation"> 101 106 <title>Glibc - x32-bit</title> 102 107 -
chapter06/gmp.xml
r7d9f881 ree1a413 122 122 123 123 <!-- ~~~~~ m32 ~~~~~ --> 124 <sect2 arch="m ultilib" role="installation">124 <sect2 arch="ml_32,ml_all" role="installation"> 125 125 <title>Installation of GMP - 32-bit</title> 126 126 … … 173 173 </sect2> 174 174 175 <!-- ~~~~~ m 32 ~~~~~ -->176 <sect2 arch="m ultilib" role="installation">175 <!-- ~~~~~ mx32 ~~~~~ --> 176 <sect2 arch="ml_x32,ml_all" role="installation"> 177 177 <title>Installation of GMP - x32-bit</title> 178 178 -
chapter06/kmod.xml
r7d9f881 ree1a413 98 98 </sect2> 99 99 100 <sect2 arch="multilib" role="installation"> 100 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 101 102 <sect2 arch="ml_32,ml_all" role="installation"> 101 103 <title>Installation of Kmod - 32-bit</title> 102 104 … … 130 132 </sect2> 131 133 132 <sect2 arch="multilib" role="installation"> 134 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 135 136 <sect2 arch="ml_x32,ml_all" role="installation"> 133 137 <title>Installation of Kmod - x32-bit</title> 134 138 -
chapter06/libcap.xml
r7d9f881 ree1a413 93 93 </sect2> 94 94 95 <sect2 arch="m ultilib" role="installation">95 <sect2 arch="ml_32,ml_all" role="installation"> 96 96 <title>Installation of Libcap - 32-bit</title> 97 97 … … 112 112 </sect2> 113 113 114 <sect2 arch="m ultilib" role="installation">114 <sect2 arch="ml_x32,ml_all" role="installation"> 115 115 <title>Installation of Libcap - x32-bit</title> 116 116 -
chapter06/libelf.xml
r7d9f881 ree1a413 64 64 </sect2> 65 65 66 <sect2 arch="m ultilib" role="installation">66 <sect2 arch="ml_32,ml_all" role="installation"> 67 67 <title>Installation of Libelf - 32-bit</title> 68 68 … … 91 91 </sect2> 92 92 93 <sect2 arch="m ultilib" role="installation">93 <sect2 arch="ml_x32,ml_all" role="installation"> 94 94 <title>Installation of Libelf - x32-bit</title> 95 95 -
chapter06/libffi.xml
r7d9f881 ree1a413 99 99 </sect2> 100 100 101 <!-- ~~~~~ m32 ~~~~~ --> 102 <sect2 arch="multilib" role="installation"> 101 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 102 103 <sect2 arch="ml_32,ml_all" role="installation"> 103 104 <title>Installation of Libffi - 32-bit</title> 104 105 … … 133 134 </sect2> 134 135 135 <!-- ~~~~~ mx32 ~~~~~ --> 136 <sect2 arch="multilib" role="installation"> 136 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 137 138 <sect2 arch="ml_x32,ml_all" role="installation"> 137 139 <title>Installation of Libffi - x32-bit</title> 138 140 -
chapter06/libtool.xml
r7d9f881 ree1a413 71 71 </sect2> 72 72 73 74 <sect2 arch="multilib" role="installation"> 73 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 74 75 <sect2 arch="ml_32,ml_all" role="installation"> 75 76 <title>Installation of Libtool - 32-bit</title> 76 77 … … 98 99 </sect2> 99 100 100 <sect2 arch="multilib" role="installation"> 101 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 102 103 <sect2 arch="ml_x32,ml_all" role="installation"> 101 104 <title>Installation of Libtool - x32-bit</title> 102 105 -
chapter06/ncurses.xml
r7d9f881 ree1a413 55 55 --enable-pc-files \ 56 56 --enable-widec</userinput></screen> 57 <screen arch="m ultilib"><userinput remap="configure">./configure --prefix=/usr \57 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">./configure --prefix=/usr \ 58 58 --mandir=/usr/share/man \ 59 59 --with-shared \ … … 97 97 </varlistentry> 98 98 99 <varlistentry arch="m ultilib">99 <varlistentry arch="ml_32,ml_x32,ml_all"> 100 100 <term><parameter>--with-pkg-config-libdir=/usr/lib/pkgconfig</parameter></term> 101 101 <listitem> … … 179 179 </sect2> 180 180 181 <sect2 arch="multilib" role="installation"> 181 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 182 183 <sect2 arch="ml_32,ml_all" role="installation"> 182 184 <title>Installation of Ncurses - 32-bit</title> 183 185 … … 234 236 </sect2> 235 237 236 <sect2 arch="multilib" role="installation"> 238 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 239 240 <sect2 arch="ml_x32,ml_all" role="installation"> 237 241 <title>Installation of Ncurses - x32-bit</title> 238 242 -
chapter06/openssl.xml
r7d9f881 ree1a413 75 75 </sect2> 76 76 77 <!-- ~~~~~ 32-bit ~~~~~ --> 78 <sect2 arch="multilib" role="installation"> 77 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 78 79 <sect2 arch="ml_32,ml_all" role="installation"> 79 80 <title>Installation of OpenSSL - 32-bit</title> 80 81 … … 107 108 </sect2> 108 109 109 <!-- ~~~~~ x32-bit ~~~~~ --> 110 <sect2 arch="multilib" role="installation"> 110 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 111 112 <sect2 arch="ml_x32,ml_all" role="installation"> 111 113 <title>Installation of OpenSSL - x32-bit</title> 112 114 -
chapter06/readline.xml
r7d9f881 ree1a413 93 93 </sect2> 94 94 95 <sect2 arch="multilib" role="installation"> 95 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 96 97 <sect2 arch="ml_32,ml_all" role="installation"> 96 98 <title>Installation of Readline - 32-bit</title> 97 99 … … 120 122 </sect2> 121 123 122 <sect2 arch="multilib" role="installation"> 124 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 125 126 <sect2 arch="ml_x32,ml_all" role="installation"> 123 127 <title>Installation of Readline - x32-bit</title> 124 128 -
chapter06/revisedchroot.xml
r7d9f881 ree1a413 63 63 at this point. To remove them, run:</para> 64 64 65 <screen arch="default"><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput></screen> 66 67 <screen arch="multilib"><userinput>find /usr/lib{,{,x}32} /usr/libexec -name \*.la -delete</userinput></screen> 65 <screen arch="default"><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput></screen> 66 <screen arch="ml_32"><userinput>find /usr/lib{,32} /usr/libexec -name \*.la -delete</userinput></screen> 67 <screen arch="ml_x32"><userinput>find /usr/lib{,x32} /usr/libexec -name \*.la -delete</userinput></screen> 68 <screen arch="ml_all"><userinput>find /usr/lib{,{,x}32} /usr/libexec -name \*.la -delete</userinput></screen> 68 69 69 70 <para>For more information about libtool archive files, see the <ulink -
chapter06/strippingagain.xml
r7d9f881 ree1a413 57 57 unset LIB save_lib save_usrlib</userinput></screen> 58 58 59 <screen arch="m ultilib"><userinput>save_lib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so"59 <screen arch="ml_32,ml_x32,ml_all"><userinput>save_lib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so" 60 60 61 61 cd /lib … … 114 114 -exec /tools/bin/strip --strip-all {} ';'</userinput></screen> 115 115 116 <screen arch="m ultilib"><userinput>/tools/bin/find /usr/lib{,{,x}32} -type f -name \*.a \116 <screen arch="ml_32,ml_x32,ml_all"><userinput>/tools/bin/find /usr/lib{,{,x}32} -type f -name \*.a \ 117 117 -exec /tools/bin/strip --strip-debug {} ';' 118 118 -
chapter06/systemd.xml
r7d9f881 ree1a413 213 213 <!-- ====== 32-bit ===== --> 214 214 215 <sect2 arch="m ultilib" role="installation">215 <sect2 arch="ml_32,ml_all" role="installation"> 216 216 <title>Installation of systemd - 32-bit</title> 217 217 … … 281 281 <!-- ====== x32-bit ===== --> 282 282 283 <sect2 arch="m ultilib" role="installation">283 <sect2 arch="ml_x32,ml_all" role="installation"> 284 284 <title>Installation of systemd - x32-bit</title> 285 285 -
chapter06/util-linux.xml
r7d9f881 ree1a413 53 53 </sect2> 54 54 55 <!-- ~~~~~~~~~~~~~~~~~~~~~ default ABI ~~~~~~~~~~~~~~~~~~~~~ -->56 55 <sect2 role="installation"> 57 56 <title>Installation of Util-linux</title> … … 123 122 </sect2> 124 123 125 <!-- ~~~~~~~~~~~~~~~~~~~~~ ABI 32-bit ~~~~~~~~~~~~~~~~~~~~~ --> 126 <sect2 arch="multilib" role="installation"> 124 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 125 126 <sect2 arch="ml_32,ml_all" role="installation"> 127 127 <title>Installation of Util-linux - 32-bit</title> 128 128 … … 179 179 </sect2> 180 180 181 <!-- ~~~~~~~~~~~~~~~~~~~~~ ABI x32-bit ~~~~~~~~~~~~~~~~~~~~~ --> 182 <sect2 arch="multilib" role="installation"> 181 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 182 183 <sect2 arch="ml_x32,ml_all" role="installation"> 183 184 <title>Installation of Util-linux - x32-bit</title> 184 185 -
chapter06/xz.xml
r7d9f881 ree1a413 69 69 </sect2> 70 70 71 <sect2 arch="multilib" role="installation"> 71 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 72 73 <sect2 arch="ml_32,ml_all" role="installation"> 72 74 <title>Installation of Xz - 32-bit</title> 73 75 … … 96 98 </sect2> 97 99 98 <sect2 arch="multilib" role="installation"> 100 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 101 102 <sect2 arch="ml_x32,ml_all" role="installation"> 99 103 <title>Installation of Xz - x32-bit</title> 100 104 -
chapter06/zlib.xml
r7d9f881 ree1a413 68 68 </sect2> 69 69 70 <sect2 arch="multilib" role="installation"> 70 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 71 72 <sect2 arch="ml_32,ml_all" role="installation"> 71 73 <title>Installation of Zlib - 32-bit</title> 72 74 … … 94 96 </sect2> 95 97 96 <sect2 arch="multilib" role="installation"> 98 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 99 100 <sect2 arch="ml_x32,ml_all" role="installation"> 97 101 <title>Installation of Zlib - x32-bit</title> 98 102 -
chapter08/grub.xml
r7d9f881 ree1a413 166 166 EOF</userinput></screen> 167 167 168 <screen arch="m ultilib" revision="sysv"><userinput>cat > /boot/grub/grub.cfg << "EOF"168 <screen arch="ml_32,ml_x32,ml_all" revision="sysv"><userinput>cat > /boot/grub/grub.cfg << "EOF" 169 169 <literal># Begin /boot/grub/grub.cfg 170 170 set default=0 … … 179 179 EOF</userinput></screen> 180 180 181 <screen arch="m ultilib" revision="systemd"><userinput>cat > /boot/grub/grub.cfg << "EOF"181 <screen arch="ml_32,ml_x32,ml_all" revision="systemd"><userinput>cat > /boot/grub/grub.cfg << "EOF" 182 182 <literal># Begin /boot/grub/grub.cfg 183 183 set default=0 -
chapter08/kernel.xml
r7d9f881 ree1a413 238 238 <screen arch="default" revision="sysv"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen> 239 239 240 <screen arch="m ultilib" revision="sysv"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;-multilib</userinput></screen>240 <screen arch="ml_32,ml_x32,ml_all" revision="sysv"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;-multilib</userinput></screen> 241 241 242 242 <screen arch="default" revision="systemd"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&versiond;</userinput></screen> 243 243 244 <screen arch="m ultilib" revision="systemd"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&versiond;-multilib</userinput></screen>244 <screen arch="ml_32,ml_x32,ml_all" revision="systemd"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&versiond;-multilib</userinput></screen> 245 245 246 246 … … 354 354 <phrase arch="default" revision="sysv">vmlinuz-&linux-version;-lfs-&version;,</phrase> 355 355 <phrase arch="default" revision="systemd">vmlinuz-&linux-version;-lfs-&versiond;,</phrase> 356 <phrase arch="m ultilib" revision="sysv">vmlinuz-&linux-version;-lfs-&version;-multilib,</phrase>357 <phrase arch="m ultilib" revision="systemd">vmlinuz-&linux-version;-lfs-&versiond;-multilib,</phrase>356 <phrase arch="ml_32,ml_x32,ml_all" revision="sysv">vmlinuz-&linux-version;-lfs-&version;-multilib,</phrase> 357 <phrase arch="ml_32,ml_x32,ml_all" revision="systemd">vmlinuz-&linux-version;-lfs-&versiond;-multilib,</phrase> 358 358 and System.map-&linux-version;</seg> 359 359 <seg>/lib/modules, /usr/share/doc/linux-&linux-version;</seg> -
chapter09/theend.xml
r7d9f881 ree1a413 37 37 EOF</userinput></screen> 38 38 39 <screen arch="m ultilib" revision="systemd"><userinput>cat > /etc/os-release << "EOF"39 <screen arch="ml_32,ml_x32,ml_all" revision="systemd"><userinput>cat > /etc/os-release << "EOF" 40 40 NAME="Linux From Scratch" 41 41 VERSION="&versiond;" … … 52 52 53 53 <screen arch="default" revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen> 54 <screen arch="m ultilib" revision="sysv"><userinput>echo &version;-multilib > /etc/lfs-release</userinput></screen>54 <screen arch="ml_32,ml_x32,ml_all" revision="sysv"><userinput>echo &version;-multilib > /etc/lfs-release</userinput></screen> 55 55 56 56 <para revision="systemd">Creating the file … … 80 80 EOF</userinput></screen> 81 81 82 <screen arch="m ultilib" revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"82 <screen arch="ml_32,ml_x32,ml_all" revision="sysv"><userinput>cat > /etc/lsb-release << "EOF" 83 83 DISTRIB_ID="Linux From Scratch" 84 84 DISTRIB_RELEASE="&version;-multilib" … … 87 87 EOF</userinput></screen> 88 88 89 <screen arch="m ultilib" revision="systemd"><userinput>cat > /etc/lsb-release << "EOF"89 <screen arch="ml_32,ml_x32,ml_all" revision="systemd"><userinput>cat > /etc/lsb-release << "EOF" 90 90 DISTRIB_ID="Linux From Scratch" 91 91 DISTRIB_RELEASE="&versiond;-multilib" -
prologue/bookinfo.xml
r7d9f881 ree1a413 10 10 <subtitle arch="default" revision='sysv'>Version &version;</subtitle> 11 11 <subtitle arch="default" revision='systemd'>Version &versiond;</subtitle> 12 <subtitle arch="m ultilib" revision='sysv'>Version &version;-multilib</subtitle>13 <subtitle arch="m ultilib" revision='systemd'>Version &versiond;-multilib</subtitle>12 <subtitle arch="ml_32,ml_x32,ml_all" revision='sysv'>Version &version;-multilib</subtitle> 13 <subtitle arch="ml_32,ml_x32,ml_all" revision='systemd'>Version &versiond;-multilib</subtitle> 14 14 15 15 <authorgroup> … … 33 33 </author> 34 34 35 <author arch="m ultilib">35 <author arch="ml_32,ml_x32,ml_all"> 36 36 <firstname>Editor: Thomas</firstname> 37 37 <surname>Trepl</surname> -
prologue/multilib.xml
r7d9f881 ree1a413 6 6 ]> 7 7 8 <sect1 arch="m ultilib" id="pre-multilib">8 <sect1 arch="ml_32,ml_x32,ml_all" id="pre-multilib"> 9 9 <?dbhtml filename="multilib.html"?> 10 10 11 11 <title>About the Multilib Edition</title> 12 12 13 <sect2><title>What is 'multilib'</title>13 <sect2><title>What is Multilib</title> 14 14 15 15 <para>Today, most systems in the x86 world have a word size of 64 … … 29 29 </sect2> 30 30 31 <sect2><title>Why doing multilib?</title>31 <sect2><title>Why doing Multilib?</title> 32 32 33 33 <para>From a educational point of view, LFS in its 'native' form is … … 55 55 </para> 56 56 57 <para>Th ismultilib edition of LFS goes a small step beyond and a57 <para>The multilib edition of LFS goes a small step beyond and a 58 58 small step back to what has been said in the previous section 59 59 when talking about target architectures. On one hand, the multilib … … 72 72 </sect2> 73 73 74 <sect2><title>Building a multilib system</title>74 <sect2><title>Building a Multilib System</title> 75 75 76 76 <para>Building a multilib system is not that much different from 77 77 building a system by using the 'native' LFS book. Beside some 78 78 tweaks here and there the most prominent difference is that 79 multilib requires compiling many applicationsthree times:79 multilib requires compiling some applications up to three times: 80 80 one for the primary 64-bit architecture, 81 one for the minor32-bit architecture (m32),82 and once again for the 32-bit architecture with 64-bit memory83 extensions(mx32).</para>81 one for the 32-bit architecture (m32), 82 and once again for the 32-bit architecture with is 32-bit memory 83 access and 64 bit instruction set (mx32).</para> 84 84 85 85 <para>Continue only if you and your system meets the following
Note:
See TracChangeset
for help on using the changeset viewer.