Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/openssl.xml

    r8d35535 r0ebda11  
    7979
    8080  </sect2>
     81
     82  <!-- - - - - - - - - - -->
     83  <!-- Multilib - 32bit  -->
     84  <!-- - - - - - - - - - -->
     85 
     86  <sect2 arch="ml_32,ml_all" role="installation">
     87    <title>Installation of OpenSSL - 32bit</title>
     88
     89    <para>Clean previous build:</para>
     90
     91<screen><userinput remap="pre">make distclean</userinput></screen>
     92
     93    <para>Prepare OpenSSL for compilation:</para>
     94
     95<screen><userinput remap="configure">MACHINE="i686"             \
     96CC="gcc -m32 -march=i686"  \
     97CXX="g++ -m32 -march=i686" \
     98    ./config               \
     99    --prefix=/usr          \
     100    --libdir=/usr/lib32    \
     101    --openssldir=/etc/ssl  \
     102    --libdir=lib32         \
     103    shared                 \
     104    zlib-dynamic</userinput></screen>
     105
     106    <para>Compile the package:</para>
     107
     108<screen><userinput remap="make">make</userinput></screen>
     109
     110    <para>Install the package:</para>
     111
     112<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     113cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     114rm -rf DESTDIR</userinput></screen>
     115
     116  </sect2><!-- m32 -->
     117
     118  <!-- - - - - - - - - - -->
     119  <!-- Multilib - x32bit -->
     120  <!-- - - - - - - - - - -->
     121 
     122  <sect2 arch="ml_x32,ml_all" role="installation">
     123    <title>Installation of OpenSSL - x32bit</title>
     124
     125    <para>Clean previous build:</para>
     126
     127<screen><userinput remap="pre">make distclean</userinput></screen>
     128
     129    <para>Prepare OpenSSL for compilation:</para>
     130
     131<screen><userinput remap="configure">MACHINE="x86_64"          \
     132CC="gcc -mx32"            \
     133CXX="g++ -mx32"           \
     134    ./config              \
     135    --prefix=/usr         \
     136    --libdir=/usr/libx32  \
     137    --openssldir=/etc/ssl \
     138    --libdir=libx32       \
     139    shared                \
     140    zlib-dynamic</userinput></screen>
     141
     142    <para>Compile the package:</para>
     143
     144<screen><userinput remap="make">make</userinput></screen>
     145
     146    <para>Install the package:</para>
     147
     148<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     149cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     150rm -rf DESTDIR</userinput></screen>
     151
     152  </sect2><!-- mx32 -->
    81153
    82154  <sect2 id="contents-openssl" role="content">
Note: See TracChangeset for help on using the changeset viewer.