mirror of
https://github.com/avmaisak/LFS_Book.git
synced 2026-01-14 02:00:45 +00:00
Revision: 11426 Author: bdubbs Date: 25 июня 2018 г. 22:20:39 Message: Various URL updates. Update to perl-5.28.0. Update to Sysvinit 2.90. Update to gdbm-1.15. Update to elfutils-0.172. Update to linux-4.17.2. ---- Modified : /trunk/BOOK/chapter01/changelog.xml Modified : /trunk/BOOK/chapter01/whatsnew.xml Modified : /trunk/BOOK/chapter06/libelf.xml Modified : /trunk/BOOK/chapter06/perl.xml Modified : /trunk/BOOK/general.ent Modified : /trunk/BOOK/packages.ent Modified : /trunk/BOOK/patches.ent
78 lines
3.0 KiB
XML
78 lines
3.0 KiB
XML
<?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-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.xz как архив с исходными текстами.</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>
|