Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/readline.xml

    rd7a9421 r9282602  
    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              \
     121    --with-curses</userinput></screen>
     122
     123    <para>Compile the package:</para>
     124
     125<screen><userinput remap="make">make SHLIB_LIBS="-lncursesw"</userinput></screen>
     126
     127    <para>Install the package:</para>
     128
     129<screen><userinput remap="install">make SHLIB_LIBS="-lncursesw" DESTDIR=$PWD/DESTDIR install
     130cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     131rm -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 Readline - x32bit</title>
     141
     142    <para>Clean previous build:</para>
     143
     144<screen><userinput remap="pre">make distclean</userinput></screen>
     145
     146    <para>Prepare Readline for compilation:</para>
     147
     148<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
     149    --host=x86_64-pc-linux-gnux32 \
     150    --prefix=/usr                 \
     151    --libdir=/usr/libx32          \
     152    --disable-static              \
     153    --with-curses</userinput></screen>
     154
     155    <para>Compile the package:</para>
     156
     157<screen><userinput remap="make">make SHLIB_LIBS="-lncursesw"</userinput></screen>
     158
     159    <para>Install the package:</para>
     160
     161<screen><userinput remap="install">make SHLIB_LIBS="-lncursesw" DESTDIR=$PWD/DESTDIR install
     162cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     163rm -rf DESTDIR</userinput></screen>
     164
     165  </sect2><!-- mx32 -->
     166
    103167  <sect2 id="contents-readline" role="content">
    104168    <title>Contents of Readline</title>
Note: See TracChangeset for help on using the changeset viewer.