Standalone fork of libbacktrace
C CMake
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
auxincl
examples
libbacktrace
.gitignore
CMakeLists.txt
README.md

README.md

UPDATE: Ian Lance Taylor has now made a standalone version of his excellent libbacktrace available on GitHub! It is available here: https://github.com/ianlancetaylor/libbacktrace

Please use ILT's repository. The only reason why you may find the current repository valuable is it uses CMake while TLT's repository uses automake/autoconf.

This is a standalone version of libbacktrace.

libbacktrace prints stack traces.

libbacktrace was originally writen by Ian Lance Taylor as part of GCC.

Building libbacktrace requires CMake.

How to build with ninja:

mkdir build
cd build/
cmake -GNinja -DENABLE_LIBBACKTRACE_TEST=true path/to/libbacktrace/source
ninja

How to build with make:

mkdir build
cd build/
cmake -G'Unix Makefiles' -DENABLE_LIBBACKTRACE_TEST=true path/to/libbacktrace/source
make

How to run the tests:

ctest