Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2003 09:22:07 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        Adam <blueeskimo@gmx.net>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: Compiling ports with debug symbols
Message-ID:  <20030406072207.GA24955@krion>
In-Reply-To: <1049613531.385.6.camel@jake>
References:  <1049612828.385.1.camel@jake> <20030406071450.GA24808@krion> <1049613531.385.6.camel@jake>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sun, Apr 06, 2003 at 03:18:51AM -0400, Adam wrote:
> On Sun, 2003-04-06 at 03:14, Kirill Ponomarew wrote:
> > Use "CFLAGS= -O -pipe -g" in /etc/make.conf. The most
> > ports use "install -s" additionaly, in the case you can try
> > "make STRIP ' '"
> 
> Is there no way to do it specifically for a particular port? If not, the
> solution you proposed would work, but I'd prefer to set a flag specific
> to the application I am wanting to debug (if at all possible).

I think you should try:

make CFLAGS='-g' STRIP=' ' install clean

Kirill


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030406072207.GA24955>