Compiling ports with debug symbols
Kirill Ponomarew
ponomarew at oberon.net
Sat Apr 5 23:14:53 PST 2003
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
More information about the freebsd-ports
mailing list