A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « ElfUtils 64-bit | HOME | LibFFI 64-bit » |
Name: ElfUtils 32-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 32-bit for install into the build root, run the following commands:
make distclean
CC="gcc -m32" CXX="g++ -m32" \
./configure --prefix=/usr \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--host=i686-pc-linux-gnu \
--disable-debuginfod \
--enable-libdebuginfod=dummy
To compile ElfUtils 32-bit, run the following commands:
make -C lib
make -C libelf
Finally, to install ElfUtils 32-bit into the build tree, run the following commands:
make -C libelf DESTDIR=$PWD/DESTDIR install
rm -fv DESTDIR/usr/lib/*.a
cp -Rv DESTDIR/usr/lib/* /usr/lib/
install -vm644 config/libelf.pc /usr/lib/pkgconfig
See the contents section of the 64-bit build of ElfUtils for details.
| Navigation | ||
|---|---|---|
| « ElfUtils 64-bit | HOME | LibFFI 64-bit » |