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 "1f45a18231c782ccd0966059e2e42ea9">
|
---|
11 | <!ENTITY elfutils-size "5.3 MB">
|
---|
12 | <!ENTITY elfutils-buildsize "71 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 | To test the results, issue: <command>make -k check</command>. One test
|
---|
93 | is known to fail in some architectures.
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <para>
|
---|
97 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 role="commands">
|
---|
105 | <title>Command Explanations</title>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | <parameter>--program-prefix="eu-"</parameter>: This switch renames installed
|
---|
109 | programs to avoid conflict with <application>Binutils</application> programs
|
---|
110 | installed in LFS.
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <sect2 role="content">
|
---|
116 | <title>Contents</title>
|
---|
117 |
|
---|
118 | <segmentedlist>
|
---|
119 | <segtitle>Installed Programs</segtitle>
|
---|
120 | <segtitle>Installed Libraries</segtitle>
|
---|
121 | <segtitle>Installed Directories</segtitle>
|
---|
122 |
|
---|
123 | <seglistitem>
|
---|
124 | <seg>
|
---|
125 | eu-addr2line, eu-ar, eu-elfcmp, eu-elflint, eu-findtextrel, eu-ld,
|
---|
126 | eu-make-debug-archive, eu-nm, eu-objdump, eu-ranlib, eu-readelf,
|
---|
127 | eu-size, eu-stack, eu-strings, eu-strip, and eu-unstrip
|
---|
128 | </seg>
|
---|
129 | <seg>
|
---|
130 | libasm.{a,so}, libdw.{a,so}, libebl.a, libelf.{a,so}, and
|
---|
131 | some for different architectures under /usr/lib/elfutils
|
---|
132 | </seg>
|
---|
133 | <seg>
|
---|
134 | /usr/include/elfutils and
|
---|
135 | /usr/lib/elfutils
|
---|
136 | </seg>
|
---|
137 | </seglistitem>
|
---|
138 | </segmentedlist>
|
---|
139 |
|
---|
140 | </sect2>
|
---|
141 |
|
---|
142 | </sect1>
|
---|