GlibcBt is a simple independent backtrace library with a completely identical interface and external behavior to GNU C Library backtrace.
- OS: GNU/Linux;
- Arch: x86, x86_64.
For debugging and running tests
cmake -DCMAKE_BUILD_TYPE=Debug -B build
cmake --build build
For release recommended:
cmake -DCMAKE_BUILD_TYPE=MinSizeRel -B build
cmake --build build
When cross-compiling, you must specify the object file format for nasm
.
For example:
cmake -DCMAKE_ASM_NASM_OBJECT_FORMAT=coff -B build
Make sure you have a debug build and run:
ctest --test-dir build