Date: Fri, 19 Mar 2010 16:04:31 -0400 From: Greg Larkin <glarkin@FreeBSD.org> To: Alejandro Imass <ait@p2ee.org> Cc: freebsd-questions@freebsd.org Subject: Re: Debugging symbols in ports Message-ID: <4BA3D8CF.3070803@FreeBSD.org> In-Reply-To: <a14066a01003191259h2b2df24eh8b46c4537ff6fe60@mail.gmail.com> References: <a14066a01003191259h2b2df24eh8b46c4537ff6fe60@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alejandro Imass wrote: > Hi, > > Is there an elegant way to enable debugging symbols in ports in > general, or is this port-specific? I have read _many_ threads > regarding this but I can't seem to find a definitive position on this. > I would not like to resort to the original sources but work from the > ports themselves. > > Thanks! > Alejandro Imass Hi Alejandro, Try this: make WITH_DEBUG=yes install clean WITH_DEBUG adds -g to the CFLAGS and prevents the binary from being stripped during installation. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLo9jP0sRouByUApARAuTUAJ0X0hp7txxe6J3OAX37kEyow4WeRQCgvFQA Lz28yinkSFM79WxThqx4d04= =HAVD -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA3D8CF.3070803>