Re: forcing Debian/trixie system GCC (or Linux Mint) to always compile with DWARF debug info

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

 



* 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.



[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