Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/readline.xml

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