Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2003 09:14:50 +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:  <20030406071450.GA24808@krion>
In-Reply-To: <1049612828.385.1.camel@jake>
References:  <1049612828.385.1.camel@jake>

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

On Sun, Apr 06, 2003 at 03:07:08AM -0400, Adam wrote:
> Is there any standard way to add debug symbols to an app when compiling
> from ports?
> 
> I've been having many problems with licq lately, and I'd like to help
> the developer troubleshoot it, but I can't figure out how to get -g
> added to the compile command .. 
> 
> I'm sure there's a simple way, but I can't figure out what it is .. 

Use "CFLAGS= -O -pipe -g" in /etc/make.conf. The most
ports use "install -s" additionaly, in the case you can try
"make STRIP ' '"

Kirill



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