Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/openssl.xml

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