Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libelf.xml

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