Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/xz.xml

    r70aadfb rd7a9421  
    6464
    6565  </sect2>
    66 
    67   <!-- - - - - - - - - - -->
    68   <!-- Multilib - 32bit  -->
    69   <!-- - - - - - - - - - -->
    70  
    71   <sect2 arch="ml_32,ml_all" role="installation">
    72     <title>Installation of Xz - 32bit</title>
    73 
    74     <para>Clean previous build:</para>
    75 
    76 <screen><userinput remap="pre">make distclean</userinput></screen>
    77 
    78     <para>Prepare Xz for compilation:</para>
    79 
    80 <screen><userinput remap="configure">CC="gcc -m32" ./configure \
    81     --host=i686-pc-linux-gnu      \
    82     --prefix=/usr                 \
    83     --libdir=/usr/lib32           \
    84     --disable-static</userinput></screen>
    85 
    86     <para>Compile the package:</para>
    87 
    88 <screen><userinput remap="make">make</userinput></screen>
    89 
    90     <para>Install the package:</para>
    91 
    92 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    93 cp -Rv DESTDIR/usr/lib32/* /usr/lib32
    94 rm -rf DESTDIR</userinput></screen>
    95 
    96   </sect2><!-- m32 -->
    97 
    98   <!-- - - - - - - - - - -->
    99   <!-- Multilib - x32bit -->
    100   <!-- - - - - - - - - - -->
    101  
    102   <sect2 arch="ml_x32,ml_all" role="installation">
    103     <title>Installation of Xz - x32bit</title>
    104 
    105     <para>Clean previous build:</para>
    106 
    107 <screen><userinput remap="pre">make distclean</userinput></screen>
    108 
    109     <para>Prepare Xz for compilation:</para>
    110 
    111 <screen><userinput remap="configure">CC="gcc -mx32" ./configure \
    112     --host=x86_64-pc-linux-gnux32 \
    113     --prefix=/usr                 \
    114     --libdir=/usr/libx32          \
    115     --disable-static</userinput></screen>
    116 
    117     <para>Compile the package:</para>
    118 
    119 <screen><userinput remap="make">make</userinput></screen>
    120 
    121     <para>Install the package:</para>
    122 
    123 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    124 cp -Rv DESTDIR/usr/libx32/* /usr/libx32
    125 rm -rf DESTDIR</userinput></screen>
    126 
    127   </sect2><!-- mx32 -->
    12866
    12967  <sect2 id="contents-xz" role="content">
Note: See TracChangeset for help on using the changeset viewer.