libunwind-1.8.3

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 8. Basic X11 Software

- Prev

  D-Bus-1.16.2

- Next

  Nettle-3.10.1

- Up
- Home

# libunwind-1.8.3

## Introduction to libunwind

The libunwind package contains a portable and efficient C programming interface (API) to determine the call-chain of a program. The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). The API supports both local (same-process) and remote (across-process) operation.

- Download: https://github.com/libunwind/libunwind/releases/download/v1.8.3/libunwind-1.8.3.tar.gz

## Installation of libunwind

Install libunwind by running the following commands:

    ./configure --prefix=/usr    \
                --disable-static \
                --disable-tests &&
    make

Now, as the `root` user:

    make install

## lib32 Installation of libunwind

Install lib32-libunwind by running the following commands:

    make clean &&
    CC="gcc -m32" CXX="g++ -m32"         \
    PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
    ./configure --prefix=/usr            \
                --libdir=/usr/lib32      \
                --host=i686-pc-linux-gnu \
                --disable-static         \
                --disable-tests         &&

    make

Now, as the `root` user:

    make DESTDIR=$PWD/DESTDIR install                      &&
    cp -vr DESTDIR/usr/lib32/* /usr/lib32                  &&
    cp -v DESTDIR/usr/include/libunwind-x86.h /usr/include &&
    rm -rf DESTDIR                                         &&
    ldconfig

## Command Explanations

### Note

Run ./configure --help for a full list of options.

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--disable-tests`: This parameter disables building tests.

## Contents

Installed Programs: None
Installed Libraries: libunwind, libunwind-coredump, libunwind-generic (symlink to libunwind-x86*), libunwind-ptrace, libunwind-setjmp, and libunwind-x86{,_64}
Installed Directories: /usr/libexec/libunwind

- Prev

  D-Bus-1.16.2

- Next

  Nettle-3.10.1

- Up
- Home