Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/openssl.xml

    r9d1c903 r3dc8226  
    100100  </sect2>
    101101
    102   <!-- - - - - - - - - - -->
    103   <!-- Multilib - 32bit  -->
    104   <!-- - - - - - - - - - -->
    105  
    106   <sect2 arch="ml_32,ml_all" role="installation">
    107     <title>Installation of OpenSSL - 32bit</title>
    108 
    109     <para>Clean previous build:</para>
    110 
    111 <screen><userinput remap="pre">make distclean</userinput></screen>
    112 
    113     <para>Prepare OpenSSL for compilation:</para>
    114 
    115 <screen><userinput remap="configure">CFLAGS="-m32 -march=i686 -Wall -O3" CXXFLAGS="$CFLAGS" \
    116 ./config --prefix=/usr         \
    117          --openssldir=/etc/ssl \
    118          --libdir=lib32        \
    119          shared                \
    120          zlib-dynamic          \
    121          linux-generic32</userinput></screen>
    122 
    123     <para>Compile the package:</para>
    124 
    125 <screen><userinput remap="make">make</userinput></screen>
    126 
    127     <para>Install the package:</para>
    128 
    129 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    130 cp -Rv DESTDIR/usr/lib32/* /usr/lib32
    131 rm -rf DESTDIR</userinput></screen>
    132 
    133   </sect2><!-- m32 -->
    134 
    135   <!-- - - - - - - - - - -->
    136   <!-- Multilib - x32bit -->
    137   <!-- - - - - - - - - - -->
    138  
    139   <sect2 arch="ml_x32,ml_all" role="installation">
    140     <title>Installation of OpenSSL - x32bit</title>
    141 
    142     <para>Clean previous build:</para>
    143 
    144 <screen><userinput remap="pre">make distclean</userinput></screen>
    145 
    146     <para>Prepare OpenSSL for compilation:</para>
    147 
    148 <screen><userinput remap="configure">CFLAGS="-mx32 -march=x86-64 -Wall -O3" CXXFLAGS="$CFLAGS" \
    149 ./config --prefix=/usr         \
    150          --openssldir=/etc/ssl \
    151          --libdir=libx32       \
    152          shared                \
    153          zlib-dynamic          \
    154          linux-x32</userinput></screen>
    155 
    156     <para>Compile the package:</para>
    157 
    158 <screen><userinput remap="make">make</userinput></screen>
    159 
    160     <para>Install the package:</para>
    161 
    162 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    163 cp -Rv DESTDIR/usr/libx32/* /usr/libx32
    164 rm -rf DESTDIR</userinput></screen>
    165 
    166   </sect2><!-- mx32 -->
    167 
    168102  <sect2 id="contents-openssl" role="content">
    169103    <title>Contents of OpenSSL</title>
Note: See TracChangeset for help on using the changeset viewer.