View previous topic :: View next topic |
Author |
Message |
metric n00b
Joined: 06 Apr 2003 Posts: 1
|
Posted: Sun Apr 06, 2003 1:55 pm Post subject: emerge debug versions |
|
|
Here is how to emerge ebuild's and be able to debug them. This should be possible at installation time on all packages, but there are a few packages that do not compile.
I was thinking a -g3 in /etc/make.conf for CFLAGS would do the trick, but the following are necessary also:
FEATURES="noclean"
DEBUGBUILD="yes"
The noclean is to keep ebuild from deleting the source tree after merging, and DEBUGBUILD is to keep ebuild from 'strip'ing the executables of their debuging symbols. Watch your hd space.
/var/tmp/portage/$package/work is set to mode:
drwx------
A chmod -R is necessary if you want to debug as a non-root user.
happy debuging,
-metric |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|