Files
LFS_Book/chapter06/libelf.xml
Anton Maisak 553106032f SYNC
Revision: 11558
Author: pierre
Date: 13 марта 2019 г. 20:58:54
Message:
Update all chapter 6 contents and description sections.
Patch by Xi Ruoyao.
----
Modified : /trunk/BOOK/chapter01/changelog.xml
Modified : /trunk/BOOK/chapter06/bash.xml
Modified : /trunk/BOOK/chapter06/binutils.xml
Modified : /trunk/BOOK/chapter06/coreutils.xml
Modified : /trunk/BOOK/chapter06/e2fsprogs.xml
Modified : /trunk/BOOK/chapter06/findutils.xml
Modified : /trunk/BOOK/chapter06/gawk.xml
Modified : /trunk/BOOK/chapter06/gcc.xml
Modified : /trunk/BOOK/chapter06/gettext.xml
Modified : /trunk/BOOK/chapter06/glibc.xml
Modified : /trunk/BOOK/chapter06/grub.xml
Modified : /trunk/BOOK/chapter06/libelf.xml
Modified : /trunk/BOOK/chapter06/linux-headers.xml
Modified : /trunk/BOOK/chapter06/man-db.xml
Modified : /trunk/BOOK/chapter06/meson.xml
Modified : /trunk/BOOK/chapter06/psmisc.xml
Modified : /trunk/BOOK/chapter06/python.xml
Modified : /trunk/BOOK/chapter06/readline.xml
Modified : /trunk/BOOK/chapter06/systemd.xml
Modified : /trunk/BOOK/chapter06/texinfo.xml
Modified : /trunk/BOOK/chapter06/util-linux.xml
2019-08-10 10:18:54 +03:00

81 lines
3.2 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
<sect1 id="ch-system-libelf" role="wrap">
<?dbhtml filename="libelf.html"?>
<sect1info condition="script">
<productname>libelf</productname>
<productnumber>&elfutils-version;</productnumber>
<address>&elfutils-url;</address>
</sect1info>
<title>Libelf из пакета Elfutils-&elfutils-version;</title>
<indexterm zone="ch-system-libelf">
<primary sortas="a-Libelf">Libelf</primary>
</indexterm>
<sect2 role="package">
<title/>
<para>Libelf - библиотека для обработки файлов формата ELF ( Executable and Linkable Format — формат исполнимых и компонуемых файлов). формат двоичных файлов, используемый во многих современных UNIX-подобных операционных системах, таких как FreeBSD, Linux, Solaris и др. Также этот формат используется и во многих других системах. Большинство утилит доступны в других пакетах, но эта библиотека необходима для сборки ядра Linux используя конфигурацию по умолчанию (и наиболее эффективную).</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem>
<seg>&elfutils-ch6-sbu;</seg>
<seg>&elfutils-ch6-du;</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Установка пакета Libelf</title>
<para>Libelf является частью пакета elfutils-&elfutils-version;. Необходимо использовать файл elfutils-&elfutils-version;.tar.bz2 как архив с исходными текстами.</para>
<para>Подготовьте Libelf к компиляции:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
<para>Скомпилируйте пакет:</para>
<screen><userinput remap="make">make</userinput></screen>
<para>Для выполнения набора тестов, выполните команду:</para>
<screen><userinput remap="test">make check</userinput></screen>
<para>Выполните установку только Libelf:</para>
<screen><userinput remap="install">make -C libelf install
install -vm644 config/libelf.pc /usr/lib/pkgconfig</userinput></screen>
</sect2>
<sect2 id="contents-elfutils" role="content">
<title>Содержимое пакета Libelf</title>
<segmentedlist>
<segtitle>Установленная библиотека</segtitle>
<segtitle>Установленный каталог</segtitle>
<seglistitem>
<seg>
libelf.so
</seg>
<seg>
/usr/include/elfutils
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>