Oliver Freyermuth

A collection of my projects


Project maintained by olifre Hosted on GitHub Pages — Theme by mattgraham

Gentoo debug setup

How to get symbols and sources in place

In /etc/portage/env, create a file debug.conf with the contents:

CFLAGS="${CFLAGS} -ggdb"
CXXFLAGS="${CXXFLAGS} -ggdb"
FEATURES="${FEATURES} splitdebug installsources"

Then, in /etc/portage/package.env, you can add a file containing lines like

sci-physics/root        debug.conf

Furthermore, you have to emerge dev-util/debugedit.

back