Date: Fri, 15 Dec 2006 23:47:54 +0100 From: Gabor Kovesdan <gabor@FreeBSD.org> To: Michael Grant <mg-fbsd3@grant.org> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: compiling a port unstripped for debugging Message-ID: <4583261A.9000103@FreeBSD.org> 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 schrieb: > 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 > You can set STRIP and STRIP_CMD to empty for not stripping the binaries and add -g to CFLAGS. E.g. make STRIP="" STRIP_CMD="" CFLAGS+=-g install This should work for you. You can also place these to /etc/make.conf if you want to use this every time. Cheers, Gabor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4583261A.9000103>