Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gcc.xml

    r0ebda11 rd7a9421  
    4242    <title>Installation of GCC</title>
    4343
    44     <para arch="default">If building on x86_64, change the default directory name for 64-bit
     44    <para>If building on x86_64, change the default directory name for 64-bit
    4545    libraries to <quote>lib</quote>:</para>
    4646
    47 <screen arch="default"><userinput remap="pre">case $(uname -m) in
     47<screen><userinput remap="pre">case $(uname -m) in
    4848  x86_64)
    4949    sed -e '/m64=/s/lib64/lib/' \
     
    5252esac</userinput></screen>
    5353
    54     <para arch="ml_32,ml_x32,ml_all">Change the default directory name for 64-bit
    55     libraries to <quote>lib</quote>:</para>
    56 
    57 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \
    58     -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \
    59     -i.orig gcc/config/i386/t-linux64</userinput></screen>
    60 
    6154    <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
    6255
     
    6659    <para>Prepare GCC for compilation:</para>
    6760
    68 <screen arch="default"><userinput remap="configure">../configure --prefix=/usr            \
     61<screen><userinput remap="configure">../configure --prefix=/usr            \
    6962             LD=ld                    \
    7063             --enable-languages=c,c++ \
    7164             --disable-multilib       \
    7265             --disable-bootstrap      \
    73              --with-system-zlib</userinput></screen>
    74 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure"
    75   arch="ml_32" >mlist=m64,m32</userinput><userinput remap="configure"
    76   arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure"
    77   arch="ml_all">mlist=m64,m32,mx32</userinput>
    78 <userinput remap="configure">../configure --prefix=/usr               \
    79              LD=ld                       \
    80              --enable-languages=c,c++    \
    81              --enable-multilib           \
    82              --with-multilib-list=$mlist \
    83              --disable-bootstrap         \
    8466             --with-system-zlib</userinput></screen>
    8567
     
    278260SEARCH_DIR("/usr/lib");</computeroutput></screen>
    279261
    280    <para arch="default">A 32-bit system may see a few different directories. For example, here
     262   <para>A 32-bit system may see a few different directories. For example, here
    281263   is the output from an i686 machine:</para>
    282264
    283 <!-- not using entities here as the dir names has nothing to do with multilib -->
    284 <screen arch="default"><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
     265<screen><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
    285266SEARCH_DIR("/usr/local/lib32")
    286267SEARCH_DIR("/lib32")
Note: See TracChangeset for help on using the changeset viewer.