Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/zstd.xml

    rd54813b r11b1e35  
    6969
    7070  </sect2>
     71
     72  <!-- - - - - - - - - - -->
     73  <!-- Multilib - 32bit  -->
     74  <!-- - - - - - - - - - -->
     75 
     76  <sect2 arch="ml_32,ml_all" role="installation">
     77    <title>Installation of Zstd - 32bit</title>
     78
     79    <para>Clean previous build:</para>
     80
     81<screen><userinput remap="pre">make clean</userinput></screen>
     82
     83    <para>Compile the package:</para>
     84
     85<screen><userinput remap="make">CC="gcc -m32" make prefix=/usr</userinput></screen>
     86
     87    <para>Install the package:</para>
     88
     89<screen><userinput remap="install">make prefix=/usr DESTDIR=$PWD/DESTDIR install
     90cp -Rv DESTDIR/usr/lib/* /usr/lib32/
     91sed -e "/^libdir/s/lib$/lib32/" -i /usr/lib32/pkgconfig/libzstd.pc
     92rm -rf DESTDIR</userinput></screen>
     93
     94  </sect2><!-- m32 -->
     95
     96  <!-- - - - - - - - - - -->
     97  <!-- Multilib - x32bit -->
     98  <!-- - - - - - - - - - -->
     99 
     100  <sect2 arch="ml_x32,ml_all" role="installation">
     101    <title>Installation of Zstd - x32bit</title>
     102
     103    <para>Clean previous build:</para>
     104
     105<screen><userinput remap="pre">make clean</userinput></screen>
     106
     107    <para>Compile the package:</para>
     108
     109<screen><userinput remap="make">CC="gcc -mx32" make prefix=/usr</userinput></screen>
     110
     111    <para>Install the package:</para>
     112
     113<screen><userinput remap="install">make prefix=/usr DESTDIR=$PWD/DESTDIR install
     114cp -Rv DESTDIR/usr/lib/* /usr/libx32/
     115sed -e "/^libdir/s/lib$/libx32/" -i /usr/libx32/pkgconfig/libzstd.pc
     116rm -rf DESTDIR</userinput></screen>
     117
     118  </sect2><!-- mx32 -->
    71119
    72120  <sect2 id="contents-zstd" role="content">
Note: See TracChangeset for help on using the changeset viewer.