Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libelf.xml

    rd49a0358 rd672ab7  
    5656
    5757    <para>To test the results, issue:</para>
    58    
     58
    5959<screen><userinput remap="test">make check</userinput></screen>
    6060
     
    6868
    6969  </sect2>
    70 
    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     --host=i686-pc-linux-gnu \
    86     --prefix=/usr            \
    87     --libdir=/usr/lib32      \
    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
    98 install -vDm644 config/libelf.pc DESTDIR/usr/lib32/pkgconfig/libelf.pc
    99 cp -Rv DESTDIR/usr/lib32/* /usr/lib32
    100 rm -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     --host=x86_64-pc-linux-gnux32 \
    119     --prefix=/usr                 \
    120     --libdir=/usr/libx32          \
    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
    131 install -vDm644 config/libelf.pc DESTDIR/usr/libx32/pkgconfig/libelf.pc
    132 cp -Rv DESTDIR/usr/libx32/* /usr/libx32
    133 rm -rf DESTDIR</userinput></screen>
    134 
    135   </sect2><!-- mx32 -->
    13670
    13771  <sect2 id="contents-elfutils" role="content">
Note: See TracChangeset for help on using the changeset viewer.