How to track the call stack of gcc (libbacktrace)

Saifi Khan saifi@SoftwareFreedomProject.org
Fri Mar 14 17:48:38 GMT 2025


On Fri, 14 Mar 2025, Basile Starynkevitch wrote:

>
> The GCC compiler is containing Ian Lance Taylor's libbacktrace.
> a possibility is to use that library to print your call stack from inside your
> C++ code inside GCC.
>

When i pass the option `--enable-languages=c,c++` to the `configure` script, it appears to me that libbacktrace is not built.

What option do I pass in order to build this library ?


warm regards
Saifi.


More information about the Gcc-help mailing list