Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/zlib.xml

    rcd152f22 ra5c2803  
    7272  </sect2>
    7373
     74  <!-- - - - - - - - - - -->
     75  <!-- Multilib - 32bit  -->
     76  <!-- - - - - - - - - - -->
     77
     78  <sect2 arch="ml_32,ml_all" role="installation">
     79    <title>Installation of Zlib - 32bit</title>
     80
     81    <para>Clean previous build:</para>
     82
     83<screen><userinput remap="pre">make distclean</userinput></screen>
     84
     85    <para>Prepare Zlib for compilation:</para>
     86
     87<screen><userinput remap="configure">CC="gcc -m32" \
     88./configure --prefix=/usr \
     89    --libdir=&usr-lib-m32;</userinput></screen>
     90
     91    <para>Compile the package:</para>
     92
     93<screen><userinput remap="make">make</userinput></screen>
     94
     95    <para>Install the package:</para>
     96
     97<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     98cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
     99rm -rf DESTDIR</userinput></screen>
     100
     101  </sect2><!-- m32 -->
     102
     103  <!-- - - - - - - - - - -->
     104  <!-- Multilib - x32bit -->
     105  <!-- - - - - - - - - - -->
     106
     107  <sect2 arch="ml_x32,ml_all" role="installation">
     108    <title>Installation of Zlib - x32bit</title>
     109
     110<screen><userinput remap="pre">make distclean</userinput></screen>
     111
     112    <para>Prepare Zlib for compilation:</para>
     113
     114<screen><userinput remap="configure">CC="gcc -mx32" \
     115./configure --prefix=/usr    \
     116    --libdir=&usr-lib-mx32;</userinput></screen>
     117
     118    <para>Compile the package:</para>
     119
     120<screen><userinput remap="make">make</userinput></screen>
     121
     122    <para>Install the package:</para>
     123
     124<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     125cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32;
     126rm -rf DESTDIR</userinput></screen>
     127
     128  </sect2><!-- mx32 -->
     129
    74130  <sect2 id="contents-zlib" role="content">
    75131    <title>Contents of Zlib</title>
Note: See TracChangeset for help on using the changeset viewer.