Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2006 14:41:19 -0800
From:      Micah <micahjon@ywave.com>
To:        Michael Grant <mg-fbsd3@grant.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: compiling a port unstripped for debugging
Message-ID:  <4583248F.8020300@ywave.com>
In-Reply-To: <62b856460612151403l3839c75fj6c3248919a2784ce@mail.gmail.com>
References:  <62b856460612151403l3839c75fj6c3248919a2784ce@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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