elfutils-0.160

Introduction to elfutils

The elfutils package contains set of utilities and libraries for handling ELF (Executable and Linkable Format) files.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/elfutils

Installation of elfutils

Install elfutils by running the following commands:

./configure --prefix=/usr --program-prefix="eu-" &&
make

If you wish to run the test suite, first fix it to skip two failing tests:

sed -i '/srcdir/ iexit 77\n'         \
       tests/run-backtrace-native.sh \
       tests/run-backtrace-native-core.sh

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--program-prefix="eu-": This switch renames installed programs to avoid conflict with Binutils programs installed in LFS.

Contents

Installed Programs: eu-addr2line, eu-ar, eu-elfcmp, eu-elflint, eu-findtextrel, eu-ld, eu-make-debug-archive, eu-nm, eu-objdump, eu-ranlib, eu-readelf, eu-size, eu-stack, eu-strings, eu-strip, and eu-unstrip
Installed Libraries: libasm.{a,so}, libdw.{a,so}, libebl.a, libelf.{a,so}, and some for different architectures under /usr/lib/elfutils
Installed Directories: /usr/include/elfutils and /usr/lib/elfutils

Last updated on 2014-09-10 13:19:10 +0000