Files
LFS_Book/chapter06/libelf.xml
Anton Maisak c139da10f2 SYNC
Revision: 11472
Author: bdubbs
Date: 20 сентября 2018 г. 20:02:36
Message:
Clean up of unneeded symbolic links.
Reordered packages so version specific packages are
built as late as possible in Chapter 6. Now building
util-linux in Chapter 5 is unneeded and has been removed.

Update to eudev-3.2.6.
Update to elfutils-0.174 (libelf).
Update to psmisc-23.2.
Update to openssl-1.1.1.
Update to linux-4.18.9.

----
Modified : /trunk/BOOK/chapter01/changelog.xml
Modified : /trunk/BOOK/chapter01/whatsnew.xml
Modified : /trunk/BOOK/chapter05/chapter05.xml
Modified : /trunk/BOOK/chapter05/make.xml
Modified : /trunk/BOOK/chapter06/chapter06.xml
Modified : /trunk/BOOK/chapter06/createfiles.xml
Modified : /trunk/BOOK/chapter06/e2fsprogs.xml
Modified : /trunk/BOOK/chapter06/libelf.xml
Modified : /trunk/BOOK/chapter06/make.xml
Modified : /trunk/BOOK/general.ent
Modified : /trunk/BOOK/packages.ent
2018-12-14 15:38:05 +03:00

78 lines
3.1 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>
<seglistitem>
<seg>
libelf.so
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>