Date: Thu, 26 Nov 2009 11:41:59 -0600 From: Robert Noland <rnoland@FreeBSD.org> To: Rene Ladan <r.c.ladan@gmail.com> Cc: ports@freebsd.org, "Michael W. Lucas" <mwlucas@blackhelicopters.org> Subject: Re: compile a port with debugging symbols? Message-ID: <1259257319.2315.12.camel@balrog.2hip.net> In-Reply-To: <e890cae60911260901g60ff4208u1696ad22cd14434b@mail.gmail.com> References: <20091126161036.GA21283@bewilderbeast.blackhelicopters.org> <e890cae60911260901g60ff4208u1696ad22cd14434b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2009-11-26 at 18:01 +0100, Rene Ladan wrote: > 2009/11/26 Michael W. Lucas <mwlucas@blackhelicopters.org>: > > Hi, > > > > Is there an approved/offical way to compile a port with debugging > > symbols? > > > > Habitually I've just run "make configure" and then edited Makefiles. > > But I'm sure that's not what you folks recommend users do... > > > Just adding -g to CFLAGS in /etc/make.conf should work... A lot of times, the binaries will still be stripped. Many ports work correctly if you define WITH_DEBUG="yes" however. robert. > Regards, > Rene > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Robert Noland <rnoland@FreeBSD.org> FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1259257319.2315.12.camel>