Changeset 2affd83


Ignore:
Timestamp:
03/20/2024 09:49:23 AM (5 weeks ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Children:
24f3b5d
Parents:
835f49d
Message:

Add ml instr to lz4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/lz4.xml

    r835f49d r2affd83  
    6060
    6161  </sect2>
     62
     63  <!-- - - - - - - - - - -->
     64  <!-- Multilib - 32bit  -->
     65  <!-- - - - - - - - - - -->
     66  <sect2 arch="ml_32,ml_all" role="installation">
     67    <title>Installation of Lz4 - 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 BUILD_STATIC=no</userinput></screen>
     76
     77    <para>Install the package:</para>
     78
     79<screen><userinput remap="install">make BUILD_STATIC=no PREFIX=/usr LIBDIR=/usr/lib32 DESTDIR=$(pwd)/m32 install &amp;&amp;
     80cp -a m32/usr/lib32/* /usr/lib32/
     81</userinput></screen>
     82
     83  </sect2><!-- m32 -->
     84
     85  <!-- - - - - - - - - - -->
     86  <!-- Multilib - x32bit -->
     87  <!-- - - - - - - - - - -->
     88  <sect2 arch="ml_x32,ml_all" role="installation">
     89    <title>Installation of Lz4 - x32bit</title>
     90
     91    <para>Clean previous build:</para>
     92
     93<screen><userinput remap="pre">make clean</userinput></screen>
     94
     95    <para>Compile the package:</para>
     96
     97<screen><userinput remap="make">CC="gcc -mx32" make BUILD_STATIC=no</userinput></screen>
     98
     99    <para>Install the package:</para>
     100
     101<screen><userinput remap="install">make BUILD_STATIC=no PREFIX=/usr LIBDIR=/usr/libx32 DESTDIR=$(pwd)/mx32 install &amp;&amp;
     102cp -a mx32/usr/libx32/* /usr/libx32/
     103</userinput></screen>
     104
     105  </sect2><!-- mx32 -->
    62106
    63107  <sect2 id="contents-lz4" role="content">
Note: See TracChangeset for help on using the changeset viewer.