[d489d4b] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY elfutils-download-http
|
---|
| 8 | "https://fedorahosted.org/releases/e/l/elfutils/&elfutils-version;/elfutils-&elfutils-version;.tar.bz2">
|
---|
| 9 | <!ENTITY elfutils-download-ftp " ">
|
---|
[894bbb4] | 10 | <!ENTITY elfutils-md5sum "77ce87f259987d2e54e4d87b86cbee41">
|
---|
[7a1d9607] | 11 | <!ENTITY elfutils-size "5.8 MB">
|
---|
| 12 | <!ENTITY elfutils-buildsize "103 MB (with tests)">
|
---|
[894bbb4] | 13 | <!ENTITY elfutils-time "0.8 SBU (with tests)">
|
---|
[d489d4b] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="elfutils" xreflabel="elfutils-&elfutils-version;">
|
---|
| 17 | <?dbhtml filename="elfutils.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>elfutils-&elfutils-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="elfutils">
|
---|
| 27 | <primary sortas="a-elfutils">elfutils</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to elfutils</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
[894bbb4] | 34 | The <application>elfutils</application> package contains a set of
|
---|
| 35 | utilities and libraries for handling ELF (Executable and Linkable Format)
|
---|
| 36 | files.
|
---|
[d489d4b] | 37 | </para>
|
---|
| 38 |
|
---|
[57945e0] | 39 | &lfs77_checked; &gcc5_checked;
|
---|
[d489d4b] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&elfutils-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&elfutils-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &elfutils-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &elfutils-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &elfutils-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &elfutils-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <para condition="html" role="usernotes">
|
---|
| 76 | User Notes: <ulink url="&blfs-wiki;/elfutils"/>
|
---|
| 77 | </para>
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of elfutils</title>
|
---|
| 82 |
|
---|
| 83 | <para>
|
---|
| 84 | Install <application>elfutils</application> by running the following
|
---|
| 85 | commands:
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <!-- don't disable static libs, disable-static switch doesn't work anyways -->
|
---|
[7a1d9607] | 89 | <screen><userinput>./configure --prefix=/usr --program-prefix="eu-" &&
|
---|
[d489d4b] | 90 | make</userinput></screen>
|
---|
[7a1d9607] | 91 | <!--
|
---|
[d489d4b] | 92 | <para>
|
---|
[59fb87e] | 93 | If you wish to run the test suite, first fix it to skip two failing tests:
|
---|
[8f1fc267] | 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>sed -i '/srcdir/ iexit 77\n' \
|
---|
| 97 | tests/run-backtrace-native.sh \
|
---|
[7a1d9607] | 98 | tests/run-backtrace-native-core.sh</userinput></screen>-->
|
---|
[8f1fc267] | 99 |
|
---|
| 100 | <para>
|
---|
| 101 | To test the results, issue: <command>make check</command>.
|
---|
[d489d4b] | 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
[7a1d9607] | 116 | <parameter>--program-prefix="eu-"</parameter>: This switch renames
|
---|
| 117 | installed programs to avoid conflict with
|
---|
| 118 | <application>Binutils</application> programs installed in LFS.
|
---|
[d489d4b] | 119 | </para>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="content">
|
---|
| 124 | <title>Contents</title>
|
---|
| 125 |
|
---|
| 126 | <segmentedlist>
|
---|
| 127 | <segtitle>Installed Programs</segtitle>
|
---|
| 128 | <segtitle>Installed Libraries</segtitle>
|
---|
| 129 | <segtitle>Installed Directories</segtitle>
|
---|
| 130 |
|
---|
| 131 | <seglistitem>
|
---|
| 132 | <seg>
|
---|
| 133 | eu-addr2line, eu-ar, eu-elfcmp, eu-elflint, eu-findtextrel, eu-ld,
|
---|
| 134 | eu-make-debug-archive, eu-nm, eu-objdump, eu-ranlib, eu-readelf,
|
---|
[cb3beb52] | 135 | eu-size, eu-stack, eu-strings, eu-strip, and eu-unstrip
|
---|
[d489d4b] | 136 | </seg>
|
---|
| 137 | <seg>
|
---|
[c647e6d] | 138 | libasm.{a,so}, libdw.{a,so}, libebl.a, libelf.{a,so}, and
|
---|
| 139 | some for different architectures under /usr/lib/elfutils
|
---|
[d489d4b] | 140 | </seg>
|
---|
| 141 | <seg>
|
---|
| 142 | /usr/include/elfutils and
|
---|
| 143 | /usr/lib/elfutils
|
---|
| 144 | </seg>
|
---|
| 145 | </seglistitem>
|
---|
| 146 | </segmentedlist>
|
---|
| 147 |
|
---|
| 148 | </sect2>
|
---|
| 149 |
|
---|
| 150 | </sect1>
|
---|