Changes in chapter08/libelf.xml [18d1f6f:7152faa]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libelf.xml
r18d1f6f r7152faa 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 67 67 </sect2> 68 68 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 install96 install -vDm644 config/libelf.pc DESTDIR/usr/lib32/pkgconfig/libelf.pc97 cp -Rv DESTDIR/usr/lib32/* /usr/lib3298 rm -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 install129 install -vDm644 config/libelf.pc DESTDIR/usr/libx32/pkgconfig/libelf.pc130 cp -Rv DESTDIR/usr/libx32/* /usr/libx32131 rm -rf DESTDIR</userinput></screen>132 133 </sect2><!-- mx32 -->134 135 69 <sect2 id="contents-elfutils" role="content"> 136 70 <title>Contents of Libelf</title>
Note:
See TracChangeset
for help on using the changeset viewer.