Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/zstd.xml

    rd7a9421 r70aadfb  
    5959
    6060  </sect2>
     61
     62  <!-- - - - - - - - - - -->
     63  <!-- Multilib - 32bit  -->
     64  <!-- - - - - - - - - - -->
     65 
     66  <sect2 arch="ml_32,ml_all" role="installation">
     67    <title>Installation of Zstd - 32bit</title>
     68
     69    <para>Clean previous build:</para>
     70
     71<screen><userinput remap="pre">make clean</userinput></screen>
     72
     73    <para>Compile the package:</para>
     74
     75<screen><userinput remap="make">CC="gcc -m32" make</userinput></screen>
     76
     77    <para>Install the package:</para>
     78
     79<screen><userinput remap="install">make prefix=/usr DESTDIR=$PWD/DESTDIR install
     80cp -Rv DESTDIR/usr/lib/* /usr/lib32/
     81sed -e "/^libdir/s/lib$/lib32/" -i /usr/lib32/pkgconfig/libzstd.pc
     82rm -rf DESTDIR</userinput></screen>
     83
     84  </sect2><!-- m32 -->
     85
     86  <!-- - - - - - - - - - -->
     87  <!-- Multilib - x32bit -->
     88  <!-- - - - - - - - - - -->
     89 
     90  <sect2 arch="ml_x32,ml_all" role="installation">
     91    <title>Installation of Zstd - x32bit</title>
     92
     93    <para>Clean previous build:</para>
     94
     95<screen><userinput remap="pre">make clean</userinput></screen>
     96
     97    <para>Compile the package:</para>
     98
     99<screen><userinput remap="make">CC="gcc -mx32" make</userinput></screen>
     100
     101    <para>Install the package:</para>
     102
     103<screen><userinput remap="install">make prefix=/usr DESTDIR=$PWD/DESTDIR install
     104cp -Rv DESTDIR/usr/lib/* /usr/libx32/
     105sed -e "/^libdir/s/lib$/libx32/" -i /usr/libx32/pkgconfig/libzstd.pc
     106rm -rf DESTDIR</userinput></screen>
     107
     108  </sect2><!-- mx32 -->
    61109
    62110  <sect2 id="contents-zstd" role="content">
Note: See TracChangeset for help on using the changeset viewer.