Re: GCC 12.1 and C++23 <stacktrace>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 28 Jul 2022 at 19:33, Helmut Zeisel via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
>
> I tried to use C++23 <stacktrace> with GCC 12.1.
> I configured GCC 12.1 with
>
>  --enable-libstdcxx-backtrace=yes
>
> built, and installed.
> I built my test program with
>
> -std=c++23 -lstd++_libacktrace
>
> (cf. https://stackoverflow.com/questions/72341483/how-can-i-generate-a-c23-stacktrace-with-gcc-12-1 )
>
> but get the error message
>
> /usr/bin/ld: cannot find -lstd++_libacktrace: No such file or directory

You spelled it wrong. It's stdc++ not std++


>
> Do I need other or additional options? Where can I check whether libstd++_libacktrace was really built?
>
> Thank you,
>
> Helmut
>



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux