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 " ">
|
---|
10 | <!ENTITY elfutils-md5sum "7527f22dff8b1ac8c122cfc4d3d3bb1e">
|
---|
11 | <!ENTITY elfutils-size "5.2 MB">
|
---|
12 | <!ENTITY elfutils-buildsize "72 MB (additional 3 MB for the tests)">
|
---|
13 | <!ENTITY elfutils-time "0.7 SBU (additional 0.2 SBU for the tests)">
|
---|
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>
|
---|
34 | The <application>elfutils</application> package contains set of utilities
|
---|
35 | and libraries for handling ELF (Executable and Linkable Format) files.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs76_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&elfutils-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&elfutils-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &elfutils-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &elfutils-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &elfutils-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &elfutils-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <para condition="html" role="usernotes">
|
---|
75 | User Notes: <ulink url="&blfs-wiki;/elfutils"/>
|
---|
76 | </para>
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2 role="installation">
|
---|
80 | <title>Installation of elfutils</title>
|
---|
81 |
|
---|
82 | <para>
|
---|
83 | Install <application>elfutils</application> by running the following
|
---|
84 | commands:
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <!-- don't disable static libs, disable-static switch doesn't work anyways -->
|
---|
88 | <screen><userinput>./configure --prefix=/usr --program-prefix="eu-" &&
|
---|
89 | make</userinput></screen>
|
---|
90 |
|
---|
91 | <para>
|
---|
92 | If you wish to run the test suite, first fix it to skip two failing tests:
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <screen><userinput>sed -i '/srcdir/ iexit 77\n' \
|
---|
96 | tests/run-backtrace-native.sh \
|
---|
97 | tests/run-backtrace-native-core.sh</userinput></screen>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | To test the results, issue: <command>make check</command>.
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="commands">
|
---|
112 | <title>Command Explanations</title>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | <parameter>--program-prefix="eu-"</parameter>: This switch renames installed
|
---|
116 | programs to avoid conflict with <application>Binutils</application> programs
|
---|
117 | installed in LFS.
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2 role="content">
|
---|
123 | <title>Contents</title>
|
---|
124 |
|
---|
125 | <segmentedlist>
|
---|
126 | <segtitle>Installed Programs</segtitle>
|
---|
127 | <segtitle>Installed Libraries</segtitle>
|
---|
128 | <segtitle>Installed Directories</segtitle>
|
---|
129 |
|
---|
130 | <seglistitem>
|
---|
131 | <seg>
|
---|
132 | eu-addr2line, eu-ar, eu-elfcmp, eu-elflint, eu-findtextrel, eu-ld,
|
---|
133 | eu-make-debug-archive, eu-nm, eu-objdump, eu-ranlib, eu-readelf,
|
---|
134 | eu-size, eu-stack, eu-strings, eu-strip, and eu-unstrip
|
---|
135 | </seg>
|
---|
136 | <seg>
|
---|
137 | libasm.{a,so}, libdw.{a,so}, libebl.a, libelf.{a,so}, and
|
---|
138 | some for different architectures under /usr/lib/elfutils
|
---|
139 | </seg>
|
---|
140 | <seg>
|
---|
141 | /usr/include/elfutils and
|
---|
142 | /usr/lib/elfutils
|
---|
143 | </seg>
|
---|
144 | </seglistitem>
|
---|
145 | </segmentedlist>
|
---|
146 |
|
---|
147 | </sect2>
|
---|
148 |
|
---|
149 | </sect1>
|
---|