A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « OpenSSL v3 32-bit | HOME | ElfUtils 32-bit » |
Name: ElfUtils 64-bit
Summary: A library and utilities for inspecting and modifying ELF files
License: GPL v3/GPL v2/LGPL v2.1/GPD
Version: 0.194
URL: https://sourceware.org/elfutils/ftp/0.194/elfutils-0.194.tar.bz2
Average Build Time: 0.3 SBU
Used Install Space: 1 MiB
To configure ElfUtils 64-bit for install into the build root, run the following command:
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64 \
--enable-libdebuginfod=dumm
To compile ElfUtils 64-bit, run the following commands:
make -C lib
make -C libelf
Next, run the test suite:
make -k check
Finally, to install ElfUtils 64-bit into the build tree, run the following command:
make -C libelf DESTDIR=$PWD/DESTDIR install
rm -fv DESTDIR/usr/lib64/*.a
cp -Rv DESTDIR/usr/include/* /usr/include/
cp -Rv DESTDIR/usr/lib64/* /usr/lib64/
install -vm644 config/libelf.pc /usr/lib64/pkgconfig
rm -rf DESTDIR
NOTE: Do not delete the unpacked sources after build.
| Contents | |
|---|---|
| Installed Libraries | libelf.so |
| Navigation | ||
|---|---|---|
| « OpenSSL v3 32-bit | HOME | ElfUtils 32-bit » |