Compiling ports with debug symbols

Kirill Ponomarew ponomarew at oberon.net
Sat Apr 5 23:22:10 PST 2003


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


More information about the freebsd-ports mailing list