Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libelf.xml

    rab31b97 r18d1f6f  
    6767  </sect2>
    6868
     69  <!-- - - - - - - - - - -->
     70  <!-- Multilib - 32bit  -->
     71  <!-- - - - - - - - - - -->
     72 
     73  <sect2 arch="ml_32,ml_all" role="installation">
     74    <title>Installation of Libelf - 32bit</title>
     75
     76    <para>Clean previous build:</para>
     77
     78<screen><userinput remap="pre">make distclean</userinput></screen>
     79
     80    <para>Prepare Libelf for compilation:</para>
     81
     82<screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" ./configure \
     83    --host=i686-pc-linux-gnu \
     84    --prefix=/usr            \
     85    --libdir=/usr/lib32      \
     86    --disable-debuginfod     \
     87    --enable-libdebuginfod=dummy</userinput></screen>
     88
     89    <para>Compile the package:</para>
     90
     91<screen><userinput remap="make">make</userinput></screen>
     92
     93    <para>Install the package:</para>
     94
     95<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR -C libelf install
     96install -vDm644 config/libelf.pc DESTDIR/usr/lib32/pkgconfig/libelf.pc
     97cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     98rm -rf DESTDIR</userinput></screen>
     99
     100  </sect2><!-- m32 -->
     101
     102  <!-- - - - - - - - - - -->
     103  <!-- Multilib - x32bit -->
     104  <!-- - - - - - - - - - -->
     105 
     106  <sect2 arch="ml_x32,ml_all" role="installation">
     107    <title>Installation of Libelf - x32bit</title>
     108
     109    <para>Clean previous build:</para>
     110
     111<screen><userinput remap="pre">make distclean</userinput></screen>
     112
     113    <para>Prepare Libelf for compilation:</para>
     114
     115<screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" ./configure \
     116    --host=x86_64-pc-linux-gnux32 \
     117    --prefix=/usr                 \
     118    --libdir=/usr/libx32          \
     119    --disable-debuginfod          \
     120    --enable-libdebuginfod=dummy</userinput></screen>
     121
     122    <para>Compile the package:</para>
     123
     124<screen><userinput remap="make">make</userinput></screen>
     125
     126    <para>Install the package:</para>
     127
     128<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR -C libelf install
     129install -vDm644 config/libelf.pc DESTDIR/usr/libx32/pkgconfig/libelf.pc
     130cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     131rm -rf DESTDIR</userinput></screen>
     132
     133  </sect2><!-- mx32 -->
     134
    69135  <sect2 id="contents-elfutils" role="content">
    70136    <title>Contents of Libelf</title>
Note: See TracChangeset for help on using the changeset viewer.