forcing Debian/trixie system GCC (or Linux Mint) to always compile with DWARF debug info
Florian Weimer
fw@deneb.enyo.de
Sat Dec 21 01:43:12 GMT 2024
* Basile Starynkevitch:
> Is there a way to force the spec file for the system compiler
> /usr/bin/g++ to enable -g implicitly.
>
> IIRC, the spec file is builtin the /usr/bin/gcc executable, and to
> change it I have to recompile GCC entirely. Can I avoid recompiling all
> of GCC?
Debian's GCC tries to load specs files from a few locations, see the
strace output.
More information about the Gcc-help
mailing list