From e03d5e49af5d60eebff308f1da5293de45f05805 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Fri, 12 Jan 2018 17:28:42 +0000 Subject: Update to Linux-4.14.13. Add Libelf-0.107. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11350 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/libelf.xml | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 chapter06/libelf.xml (limited to 'chapter06/libelf.xml') diff --git a/chapter06/libelf.xml b/chapter06/libelf.xml new file mode 100644 index 000000000..2b231198c --- /dev/null +++ b/chapter06/libelf.xml @@ -0,0 +1,84 @@ + + + %general-entities; +]> + + + + + + elfutils + &elfutils-version; +
&elfutils-url;
+
+ + Libelf &elfutils-version; + + + Libelf + + + + + + <para>Libelf is a library for handling ELF (Executable and Linkable Format) + files.</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>Installation of Libelf + + Libelf is part of elfutils-&elfutils-version; package. Use + the elfutils-&elfutils-version;.tar.xz as the source tarball. + + Prepare Libelf for compilation: + +./configure --prefix=/usr + + Compile the package: + +make + + To test the results, issue make check. + + Install the needed libraries: + +install -vm755 libelf/libelf.so /usr/lib/libelf-0.170.so +install -vm644 config/libelf.pc /usr/lib/pkgconfig +install -vm644 libelf/libelf.h /usr/include +install -vm644 libelf/gelf.h /usr/include +install -vm644 libelf/nlist.h /usr/include +ln -sf libelf-0.170.so /usr/lib/libelf-1.so +ln -sf libelf-0.170.so /usr/lib/libelf.so + + + + + Contents of Libelf + + + Installed Library + + + + libelf.so + + + + + + +
-- cgit v1.2.3-54-g00ecf