compiling a port unstripped for debugging

Micah micahjon at ywave.com
Fri Dec 15 14:41:33 PST 2006


Michael Grant wrote:
> Can someone please tell me if there is an easy way to compile and
> install a port without stripping it (i.e. compiling it with -g and not
> running strip when it's installed)?
> 
> Michael Grant

I have the following conditionally defined in my /etc/make.conf

CFLAGS= -g -O -pipe
STRIP=

And that seems to work. Defining those on the command line would 
probably work as well.

HTH,
Micah


More information about the freebsd-questions mailing list