Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/readline.xml

    rd7a9421 rb08c451  
    101101  </sect2>
    102102
     103  <!-- - - - - - - - - - -->
     104  <!-- Multilib - 32bit  -->
     105  <!-- - - - - - - - - - -->
     106 
     107  <sect2 arch="ml_32,ml_all" role="installation">
     108    <title>Installation of Readline - 32bit</title>
     109
     110    <para>Clean previous build:</para>
     111
     112<screen><userinput remap="pre">make distclean</userinput></screen>
     113
     114    <para>Prepare Readline for compilation:</para>
     115
     116<screen><userinput remap="configure">CC="gcc -m32" ./configure \
     117    --host=i686-pc-linux-gnu      \
     118    --prefix=/usr                 \
     119    --libdir=/usr/lib32           \
     120    --disable-static</userinput></screen>
     121
     122    <para>Compile the package:</para>
     123
     124<screen><userinput remap="make">make SHLIB_LIBS="-lncursesw"</userinput></screen>
     125
     126    <para>Install the package:</para>
     127
     128<screen><userinput remap="install">make SHLIB_LIBS="-lncursesw" DESTDIR=$PWD/DESTDIR install
     129cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     130rm -rf DESTDIR</userinput></screen>
     131
     132  </sect2><!-- m32 -->
     133
     134  <!-- - - - - - - - - - -->
     135  <!-- Multilib - x32bit -->
     136  <!-- - - - - - - - - - -->
     137 
     138  <sect2 arch="ml_x32,ml_all" role="installation">
     139    <title>Installation of Readline - x32bit</title>
     140
     141    <para>Clean previous build:</para>
     142
     143<screen><userinput remap="pre">make distclean</userinput></screen>
     144
     145    <para>Prepare Readline for compilation:</para>
     146
     147<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
     148    --host=x86_64-pc-linux-gnux32 \
     149    --prefix=/usr                 \
     150    --libdir=/usr/libx32          \
     151    --disable-static</userinput></screen>
     152
     153    <para>Compile the package:</para>
     154
     155<screen><userinput remap="make">make SHLIB_LIBS="-lncursesw"</userinput></screen>
     156
     157    <para>Install the package:</para>
     158
     159<screen><userinput remap="install">make SHLIB_LIBS="-lncursesw" DESTDIR=$PWD/DESTDIR install
     160cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     161rm -rf DESTDIR</userinput></screen>
     162
     163  </sect2><!-- mx32 -->
     164
    103165  <sect2 id="contents-readline" role="content">
    104166    <title>Contents of Readline</title>
Note: See TracChangeset for help on using the changeset viewer.