Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/eudev.xml

    r9901d50d r76531f2  
    5454
    5555<screen><userinput remap="configure">./configure --prefix=/usr           \
    56             --bindir=/usr/sbin      \
    5756            --sysconfdir=/etc       \
    5857            --enable-manpages       \
     
    8483
    8584  </sect2>
     85
     86  <!-- - - - - - - - - - -->
     87  <!-- Multilib - 32bit  -->
     88  <!-- - - - - - - - - - -->
     89 
     90  <sect2 arch="ml_32,ml_all" role="installation">
     91    <title>Installation of Eudev - 32bit</title>
     92
     93    <para>Clean previous build:</para>
     94
     95<screen><userinput remap="pre">make distclean</userinput></screen>
     96
     97    <para>Prepare Eudev for compilation:</para>
     98
     99<screen><userinput remap="configure">CC="gcc -m32" \
     100./configure --host=i686-pc-linux-gnu       \
     101            --prefix=/usr                  \
     102            --bindir=/usr/sbin             \
     103            --libdir=/usr/lib32            \
     104            --sysconfdir=/etc              \
     105            --disable-manpages             \
     106            --disable-static               \
     107            --config-cache</userinput></screen>
     108
     109    <para>Compile the package:</para>
     110
     111<screen><userinput remap="make">make</userinput></screen>
     112
     113    <para>Install the package:</para>
     114
     115<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     116cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     117rm -rf DESTDIR</userinput></screen>
     118
     119  </sect2><!-- m32 -->
     120
     121  <!-- - - - - - - - - - -->
     122  <!-- Multilib - x32bit -->
     123  <!-- - - - - - - - - - -->
     124 
     125  <sect2 arch="ml_x32,ml_all" role="installation">
     126    <title>Installation of Eudev - x32bit</title>
     127
     128    <para>Clean previous build:</para>
     129
     130<screen><userinput remap="pre">make distclean</userinput></screen>
     131
     132    <para>Prepare Eudev for compilation:</para>
     133
     134<screen><userinput remap="configure">CC="gcc -mx32" \
     135./configure --host=x86_64-lfs-linux-gnux32 \
     136            --prefix=/usr                  \
     137            --bindir=/usr/sbin             \
     138            --libdir=/usr/libx32           \
     139            --sysconfdir=/etc              \
     140            --disable-manpages             \
     141            --disable-static               \
     142            --config-cache</userinput></screen>
     143
     144    <para>Compile the package:</para>
     145
     146<screen><userinput remap="make">make</userinput></screen>
     147
     148    <para>Install the package:</para>
     149
     150<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     151cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     152rm -rf DESTDIR</userinput></screen>
     153
     154  </sect2><!-- mx32 -->
    86155
    87156  <sect2 id="conf-eudev" role="configuration">
Note: See TracChangeset for help on using the changeset viewer.